Switch shellscripts to customer pool

This commit is contained in:
j3s
2020-05-20 16:37:45 -05:00
parent 5a4c67d202
commit 773aa78ac4
2 changed files with 16 additions and 13 deletions

View File

@ -66,14 +66,12 @@ virt-install \
--os-variant generic \
--virt-type kvm \
--graphics vnc,listen=127.0.0.1 \
--network network=public1,filterref=clean-traffic,model=virtio \
--network network=public2,filterref=clean-traffic,model=virtio \
--import \
--print-xml > "$xml"
# --network network=public6,filterref=clean-traffic,model=virtio
chmod 0600 "$xml" "$disk" "$cdrom"
virsh define "$xml"
virsh start "$vmname"
echo "success"