Creating a Bootstrap Day0 Configuration for virt-install
This procedure provides additional steps to execute within one of the following procedures, as noted within
the procedures:
•
Creating the Cisco CSR 1000v VM Using virt-install
Using .qcow2 Image, on page 119
•
Creating the Cisco CSR 1000v VM Using virt-install
Using ISO Image, on page 120
The CSR1000v will read the day 0 configuration during initial bootup and will save the configuration
after bootup.
Note
In order to bootstrap, perform the following steps on the KVM server.
SUMMARY STEPS
1.
Create an
iosxe_config.txt
or
ovf-env.xml
file. (For details, see
Bootstrap Properties, on page 126
.)
2.
Create a disk image from the file using following command:
3.
(This step must be performed within the VM creation procedure (see the options indicated above).
DETAILED STEPS
Step 1
Create an
iosxe_config.txt
or
ovf-env.xml
file. (For details, see
Bootstrap Properties, on page 126
.)
Step 2
Create a disk image from the file using following command:
Example:
mkisofs -l -o /my/path/csr_config.iso <configuration_filename>
Step 3
(This step must be performed within the VM creation procedure (see the options indicated above).
Add an additional disk parameter to the
virt-install
command to include the csr_config.iso disk image, as follows:
Example:
--disk path=/my/path/csr_config.iso,device=cdrom,bus=ide
Creating the Cisco CSR 1000v on OpenStack
Selecting a Cisco CSR 1000v Installation Image
There are two different installation image packages available for downloading. Each package contains a
different qcow2 file.
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
122
Installing the Cisco CSR 1000v in KVM Environments
Creating a Bootstrap Day0 Configuration for virt-install