I create a cloud-init template follow below command.
VM_ID=9000 is my centos-8 cloud-init template, it succeeds, it's normal.
But after I change VM_ID=9001 to create a centos-7 template, when I startup it, it reports the error 'A start job is running for LSB: Bri.../down networking (41s / 5min 5s)'.
Even stranger, If I create VM_ID=9000 for centos-7 first, VM_ID=9001 for centos-8 second, then centos-7 is normal but centos-8 reports the same error.
What's going on?
Here is my centos-7 command:
Code:
qm create 9000 --memory 2048 --name centos-8-template --net0 virtio,bridge=vmbr0
qm importdisk 9000 images/CentOS-8-GenericCloud-8.1.1911-20200113.3.x86_64.qcow2 local-lvm
qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-0
qm set 9000 --ide2 local-lvm:cloudinit
qm set 9000 --boot c --bootdisk scsi0
qm set 9000 --serial0 socket --vga serial0
VM_ID=9000 is my centos-8 cloud-init template, it succeeds, it's normal.
But after I change VM_ID=9001 to create a centos-7 template, when I startup it, it reports the error 'A start job is running for LSB: Bri.../down networking (41s / 5min 5s)'.
Even stranger, If I create VM_ID=9000 for centos-7 first, VM_ID=9001 for centos-8 second, then centos-7 is normal but centos-8 reports the same error.
What's going on?
Here is my centos-7 command:
Code:
qm create 9001 --memory 2048 --name centos-7-template --net0 virtio,bridge=vmbr0
qm importdisk 9001 images/CentOS-7-x86_64-GenericCloud.qcow2 local-lvm
qm set 9001 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9001-disk-0
qm set 9001 --ide2 local-lvm:cloudinit
qm set 9001 --boot c --bootdisk scsi0
qm set 9001 --serial0 socket --vga serial0