Browse Source

no message

master
Brielle Bruns 6 months 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:
36 36
 
37 37
 runcmd:
38 38
   - [ touch, /etc/cloud/cloud-init.disabled ]
39
+  - [ rm, -f, /etc/sudoers.d/debian-cloud-init ]
39 40
 bootcmd:
40 41
   - 'mv -f /etc/network/interfaces.d/50-cloud-init.cfg /etc/network/interfaces'
41 42
   - '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 \
218 218
   --memory ${ram} \
219 219
   --vcpus=${cpucount} \
220 220
   --noautoconsole \
221
-  --graphics spice \
221
+  --nographics \
222
+  --video=vga
222 223
   --memballoon virtio \
223 224
   --network ${net_interface} \
224 225
   --boot hd \

Loading…
Cancel
Save