| ... | ... |
@@ -22,6 +22,8 @@ set +o xtrace |
| 22 | 22 |
# Defaults |
| 23 | 23 |
# -------- |
| 24 | 24 |
|
| 25 |
+# File injection is disabled by default in Nova. This will turn it back on. |
|
| 26 |
+ENABLE_FILE_INJECTION=${ENABLE_FILE_INJECTION:-False}
|
|
| 25 | 27 |
|
| 26 | 28 |
# Entry Points |
| 27 | 29 |
# ------------ |
| ... | ... |
@@ -114,6 +116,10 @@ EOF" |
| 114 | 114 |
if is_arch "ppc64"; then |
| 115 | 115 |
iniset $NOVA_CONF DEFAULT vnc_enabled "false" |
| 116 | 116 |
fi |
| 117 |
+ if [[ "$ENABLE_FILE_INJECTION" = "False" ]] ; then |
|
| 118 |
+ # Disable file injection by default |
|
| 119 |
+ iniset $NOVA_CONF libvirt_inject_partition '-2' |
|
| 120 |
+ fi |
|
| 117 | 121 |
} |
| 118 | 122 |
|
| 119 | 123 |
# install_nova_hypervisor() - Install external components |