Browse code

Disable file injection for libvirt driver

Change-Id: I73289195d3bb455f4076fadd2eadd6036b04b722

Robert Collins authored on 2014/02/02 05:59:07
Showing 1 changed files
... ...
@@ -240,10 +240,9 @@ function configure_nova() {
240 240
         sudo sysctl -w net.ipv4.ip_forward=1
241 241
 
242 242
         if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
243
-            # When libguestfs is available for file injection, enable using
244
-            # libguestfs to inspect the image and figure out the proper
245
-            # partition to inject into.
246
-            iniset $NOVA_CONF libvirt inject_partition '-1'
243
+            # File injection is being disabled by default in the near future -
244
+            # disable it here for now to avoid surprises later.
245
+            iniset $NOVA_CONF libvirt inject_partition '-2'
247 246
 
248 247
             # Check for kvm (hardware based virtualization).  If unable to initialize
249 248
             # kvm, we drop back to the slower emulation mode (qemu).  Note: many systems