I have a Cisco Cloud Service Router 1000v, CSR1000, .iso image that is advertised to run on KVM. I launched a RHEL 1 vCPU, 0.6 GB w assigned public IP and default private IP and uploaded the image.
I was able to mount it and see the boot
and boot.catalog
files.
[ron@csr1000 ~]$ sudo mkdir /mnt/tmp
[ron@csr1000 ~]$ sudo mount -t iso9660 -o loop csr1000v-universalk9.03.11.00.S.154-1.S-std.iso /mnt/tmp
mount: /dev/loop0 is write-protected, mounting read-only
[ron@csr1000 ~]$ sudo cd /mnt/tmp
[ron@csr1000 ~]$ sudo ls -a
. .bash_history .bash_profile csr1000v-universalk9.03.11.00.S.154-1.S-std.iso
.. .bash_logout .bashrc .ssh
[ron@csr1000 ~]$ dir
csr1000v-universalk9.03.11.00.S.154-1.S-std.iso
[ron@csr1000 ~]$ cd /mnt/tmp
[ron@csr1000 tmp]$ ls -a
. .. boot boot.catalog
Then modified /etc/fstab to tell the box to boot the CSR .iso upon startup.
[ron@csr1000 ~]$ sudo su -
Last login: Mon Oct 31 20:56:18 UTC 2016 on pts/0
[root@csr1000 ~]# ls -l /etc/fstab
-rw-r--r--. 1 root root 318 Oct 31 20:58 /etc/fstab
[root@csr1000 ~]# vi /etc/fstab
[root@csr1000 ~]# reboot
...and still nothing.
Do I need to stand up a virtual serial port?
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide indicates a vert-install command but I can't find it...?
UPDATE: I was able to get much closer to standing up a CSR1000v on GCE. You have to run virtualbox on your laptop, create an 'other linux 64bit' machine serial port enabled and point to the .iso on the virtual CD/DVD drive. Spin it up then shut down vbox then (using cygwin or linux) create an oldgnu format tar.gz called disk.tar.gz from the .qcow file. Gotta be named disk. Upload that to Gstorage Bucket, create custom image using that storage bucket. create new vm using that image, then watch it not boot correctly via serial port ssh and get angry. :-)