no message

master
Brie Bruns 2018-10-11 10:16:14 -06:00
parent 9565321990
commit b3ccc7fa47
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@ packages:
runcmd: runcmd:
- [ touch, /etc/cloud/cloud-init.disabled ] - [ touch, /etc/cloud/cloud-init.disabled ]
- [ rm, -f, /etc/sudoers.d/debian-cloud-init ]
bootcmd: bootcmd:
- 'mv -f /etc/network/interfaces.d/50-cloud-init.cfg /etc/network/interfaces' - 'mv -f /etc/network/interfaces.d/50-cloud-init.cfg /etc/network/interfaces'
- 'echo -e "domain %DOMAIN%\nsearch %DOMAIN%\nnameserver %NAMESERVER1%\nnameserver %NAMESERVER2%" >/etc/resolv.conf' - 'echo -e "domain %DOMAIN%\nsearch %DOMAIN%\nnameserver %NAMESERVER1%\nnameserver %NAMESERVER2%" >/etc/resolv.conf'

View File

@ -218,7 +218,8 @@ virt-install \
--memory ${ram} \ --memory ${ram} \
--vcpus=${cpucount} \ --vcpus=${cpucount} \
--noautoconsole \ --noautoconsole \
--graphics spice \ --nographics \
--video=vga
--memballoon virtio \ --memballoon virtio \
--network ${net_interface} \ --network ${net_interface} \
--boot hd \ --boot hd \