Browse code

Disable key injection by default.

Change-Id: Ib618da1bd21da09f8855ec4691bff79c4c3b3d9c

Mark McClain authored on 2014/02/06 07:43:08
Showing 1 changed files
... ...
@@ -490,6 +490,12 @@ function create_nova_conf() {
490 490
     iniset $NOVA_CONF DEFAULT ec2_dmz_host "$EC2_DMZ_HOST"
491 491
     iniset_rpc_backend nova $NOVA_CONF DEFAULT
492 492
     iniset $NOVA_CONF DEFAULT glance_api_servers "$GLANCE_HOSTPORT"
493
+
494
+    if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
495
+        # File injection is being disabled by default in the near future -
496
+        # disable it here for now to avoid surprises later.
497
+        iniset $NOVA_CONF libvirt inject_partition '-2'
498
+    fi
493 499
 }
494 500
 
495 501
 function init_nova_cells() {