A start job is running for LSB: Bri.../down networking (41s / 5min 5s)

SmithCruise

New Member
Oct 14, 2019
12
0
1
35
I create a cloud-init template follow below 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
 
'A start job is running for LSB: Bri.../down networking (41s / 5min 5s)'.
This is often an indication of renamed network interfaces. If CentOS is using udev rules /etc/udev/rules.d/70-persistent-net.rules for its networking, then the previously used network interfaces will be added as persistent rules. The rule will stay even if the interface has changed.