|
...
|
...
|
@@ -240,10 +240,6 @@ function configure_nova() {
|
|
240
|
240
|
sudo sysctl -w net.ipv4.ip_forward=1
|
|
241
|
241
|
|
|
242
|
242
|
if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
|
|
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'
|
|
246
|
|
-
|
|
247
|
243
|
# Check for kvm (hardware based virtualization). If unable to initialize
|
|
248
|
244
|
# kvm, we drop back to the slower emulation mode (qemu). Note: many systems
|
|
249
|
245
|
# come with hardware virtualization disabled in BIOS.
|
|
...
|
...
|
@@ -499,6 +495,12 @@ function create_nova_conf() {
|
|
499
|
499
|
iniset $NOVA_CONF DEFAULT ec2_dmz_host "$EC2_DMZ_HOST"
|
|
500
|
500
|
iniset_rpc_backend nova $NOVA_CONF DEFAULT
|
|
501
|
501
|
iniset $NOVA_CONF DEFAULT glance_api_servers "$GLANCE_HOSTPORT"
|
|
|
502
|
+
|
|
|
503
|
+ if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
|
|
|
504
|
+ # File injection is being disabled by default in the near future -
|
|
|
505
|
+ # disable it here for now to avoid surprises later.
|
|
|
506
|
+ iniset $NOVA_CONF libvirt inject_partition '-2'
|
|
|
507
|
+ fi
|
|
502
|
508
|
}
|
|
503
|
509
|
|
|
504
|
510
|
function init_nova_cells() {
|