Tools like Ansible or Terraform should be used to configure the router post-boot via the NETCONF/RESTCONF APIs. This abstracts the configuration from the OS image entirely, ensuring the image remains a commodity.
# Use libguestfs to mount, clean, and unmount safely virt-sysprep -a csr1000v-ucmk916121b-serial.qcow2 \ --operations defaults,-ssh-hostkeys,-udev-persistent-net \ --enable machine-id,logfiles,tmp-files,package-manager-cache csr1000vucmk916121bserialqcow2 repack best
Log into your emulator via SSH as root and create a directory following the required naming convention. For EVE-NG, the folder must start with csr1000v- . Tools like Ansible or Terraform should be used
; allocating less can cause the installation or boot process to fail. -udev-persistent-net \ --enable machine-id