Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Provisioning vSRX with an ISO Bootstrap Image on KVM

    To provision a vSRX VM from an ISO bootstrap image:

    1. Use the virsh edit command on the KVM host server where the vSRX VM resides to add the bootstrap ISO image as a disk device.
      <disk type='file' device='cdrom'>
            <driver name='qemu' type='raw'/>
            <source file='/home/test.iso'/>
            <target dev='hdc' bus='ide'/>
            <readonly/>
            <address type='drive' controller='0' bus='1' target='0' unit='0'/>
          </disk>
      
    2. Boot or reboot the vSRX VM.
      user@host# virsh start ixvSRX
      Connected to domain ixvSRX
    3. Optionally, use the virsh domblklist Linux command to verify that the bootstrap ISO image is part of the VM.
      hostOS# virsh domblklist ixvSRX
      Target     Source
      ------------------------------------------------
      hda        /home/test/vsrx209.qcow2
      hdc        /home/test/test.iso
      
    4. Verify the configuration, then power down the vSRX VM to remove the ISO image.
    5. Use the virsh edit command on the KVM host server to remove the ISO image xml statements added in step 1, and then reboot the vSRX VM.

    Modified: 2017-12-04