Browse Source

no message

master
Brielle Bruns 1 year ago
parent
commit
b3ccc7fa47
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      user-data
  2. +2
    -1
      virt-install-cloud.sh

+ 1
- 0
user-data View File

@@ -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'


+ 2
- 1
virt-install-cloud.sh View File

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


Loading…
Cancel
Save