Allow configration of config_drive_format inside nova.conf

This patch adds the nova override nova_config_drive_formats which
defaults to iso9660. This override can be individually configured
over the `user_variables`. Additionally the packages
dosfstools-dbg dosfstools are installed in case the
config_drive_format vfat is used

Change-Id: I313bf05b814def16527bce74a5c6d3ece9044146
Closes-Bug: #1489225
This commit is contained in:
Bjoern Teipel 2015-10-12 15:22:01 -05:00
parent 5b739d1b4e
commit f850d3fde9
3 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,7 @@ nova_max_age: 0
nova_remove_unused_resized_minimum_age_seconds: 3600
nova_image_cache_manager_interval: 0
nova_resume_guests_state_on_host_boot: False
nova_config_drive_format: iso9660
nova_force_config_drive: always
## libvirtd config options

View File

@ -102,6 +102,7 @@ vif_plugging_is_fatal = False
default_ephemeral_format = ext4
# Configdrive
config_drive_format = {{ nova_config_drive_format | default('iso9660') }}
force_config_drive = {{ nova_force_config_drive }}
# Policy

View File

@ -22,3 +22,5 @@ container_packages:
- sysfsutils
- nfs-common
- ebtables
- dosfstools
- dosfstools-dbg