allow a default kernel to be set

Change-Id: I6cf0cf918df6c79757b283333f5a687ff20a46bd
This commit is contained in:
Kevin Carter 2017-10-09 22:28:16 -05:00
parent d0cb21c139
commit be1d365ef5
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F
7 changed files with 20 additions and 0 deletions

View File

@ -122,6 +122,8 @@ Instruct the system to Kick all of the VMs:
Instruct the VM to use the selected image, eg. ubuntu-16.04-amd64:
``DEFAULT_IMAGE=${DEFAULT_IMAGE:-ubuntu-16.04-amd64}``
Instruct the VM to use the selected kernel meta package, eg. linux-generic:
``DEFAULT_KERNEL=${DEFAULT_KERNEL:-linux-generic}``
Set the OSA branch for this script to deploy:
``OSA_BRANCH=${OSA_BRANCH:-master}``

View File

@ -40,5 +40,6 @@ ansible-playbook -vv \
-e pre_config_osa=${PRE_CONFIG_OSA:-"true"} \
-e configure_openstack=${CONFIGURE_OPENSTACK:-"true"} \
-e config_prerouting=${CONFIG_PREROUTING:-"false"} \
-e default_ubuntu_kernel=${DEFAULT_KERNEL:-"linux-generic"} \
--force-handlers \
playbooks/site.yml

View File

@ -19,6 +19,7 @@ default_os_families:
ubuntu-16.04-amd64: debian
ubuntu-14.04-amd64: debian
default_ubuntu_kernel: linux-generic
default_ubuntu_mirror_proxy: 'http://10.0.2.1:3142/'
default_ubuntu_mirror_hostname: archive.ubuntu.com
default_ubuntu_mirror_directory: /ubuntu

View File

@ -39,6 +39,10 @@ d-i preseed/early_command string \
# Required at least for 12.10+
d-i live-installer/net-image string {{ tftp_server }}/images/{{ item.value.image_short_name }}/install/filesystem.squashfs
# The kernel image (meta) package to be installed; "none" can be used if no
# kernel is to be installed.
d-i base-installer/kernel/image string {{ default_ubuntu_kernel }}
# Localization
d-i debian-installer/locale string en

View File

@ -39,6 +39,10 @@ d-i preseed/early_command string \
# Required at least for 12.10+
d-i live-installer/net-image string {{ tftp_server }}/images/{{ item.value.image_short_name }}/install/filesystem.squashfs
# The kernel image (meta) package to be installed; "none" can be used if no
# kernel is to be installed.
d-i base-installer/kernel/image string {{ default_ubuntu_kernel }}
# Localization
d-i debian-installer/locale string en

View File

@ -39,6 +39,10 @@ d-i preseed/early_command string \
# Required at least for 12.10+
d-i live-installer/net-image string {{ tftp_server }}/images/{{ item.value.image_short_name }}/install/filesystem.squashfs
# The kernel image (meta) package to be installed; "none" can be used if no
# kernel is to be installed.
d-i base-installer/kernel/image string {{ default_ubuntu_kernel }}
# Localization
d-i debian-installer/locale string en

View File

@ -39,6 +39,10 @@ d-i preseed/early_command string \
# Required at least for 12.10+
d-i live-installer/net-image string {{ tftp_server }}/images/{{ item.value.image_short_name }}/install/filesystem.squashfs
# The kernel image (meta) package to be installed; "none" can be used if no
# kernel is to be installed.
d-i base-installer/kernel/image string {{ default_ubuntu_kernel }}
# Localization
d-i debian-installer/locale string en