no message
parent
9565321990
commit
b3ccc7fa47
|
@ -36,6 +36,7 @@ packages:
|
|||
|
||||
runcmd:
|
||||
- [ touch, /etc/cloud/cloud-init.disabled ]
|
||||
- [ rm, -f, /etc/sudoers.d/debian-cloud-init ]
|
||||
bootcmd:
|
||||
- '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'
|
||||
|
|
|
@ -218,7 +218,8 @@ virt-install \
|
|||
--memory ${ram} \
|
||||
--vcpus=${cpucount} \
|
||||
--noautoconsole \
|
||||
--graphics spice \
|
||||
--nographics \
|
||||
--video=vga
|
||||
--memballoon virtio \
|
||||
--network ${net_interface} \
|
||||
--boot hd \
|
||||
|
|
Loading…
Reference in New Issue