no message
parent
9565321990
commit
b3ccc7fa47
|
@ -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'
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue