allow a default kernel to be set
Change-Id: I6cf0cf918df6c79757b283333f5a687ff20a46bd
This commit is contained in:
parent
d0cb21c139
commit
be1d365ef5
@ -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:
|
Instruct the VM to use the selected image, eg. ubuntu-16.04-amd64:
|
||||||
``DEFAULT_IMAGE=${DEFAULT_IMAGE:-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:
|
Set the OSA branch for this script to deploy:
|
||||||
``OSA_BRANCH=${OSA_BRANCH:-master}``
|
``OSA_BRANCH=${OSA_BRANCH:-master}``
|
||||||
|
@ -40,5 +40,6 @@ ansible-playbook -vv \
|
|||||||
-e pre_config_osa=${PRE_CONFIG_OSA:-"true"} \
|
-e pre_config_osa=${PRE_CONFIG_OSA:-"true"} \
|
||||||
-e configure_openstack=${CONFIGURE_OPENSTACK:-"true"} \
|
-e configure_openstack=${CONFIGURE_OPENSTACK:-"true"} \
|
||||||
-e config_prerouting=${CONFIG_PREROUTING:-"false"} \
|
-e config_prerouting=${CONFIG_PREROUTING:-"false"} \
|
||||||
|
-e default_ubuntu_kernel=${DEFAULT_KERNEL:-"linux-generic"} \
|
||||||
--force-handlers \
|
--force-handlers \
|
||||||
playbooks/site.yml
|
playbooks/site.yml
|
||||||
|
@ -19,6 +19,7 @@ default_os_families:
|
|||||||
ubuntu-16.04-amd64: debian
|
ubuntu-16.04-amd64: debian
|
||||||
ubuntu-14.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_proxy: 'http://10.0.2.1:3142/'
|
||||||
default_ubuntu_mirror_hostname: archive.ubuntu.com
|
default_ubuntu_mirror_hostname: archive.ubuntu.com
|
||||||
default_ubuntu_mirror_directory: /ubuntu
|
default_ubuntu_mirror_directory: /ubuntu
|
||||||
|
@ -39,6 +39,10 @@ d-i preseed/early_command string \
|
|||||||
# Required at least for 12.10+
|
# Required at least for 12.10+
|
||||||
d-i live-installer/net-image string {{ tftp_server }}/images/{{ item.value.image_short_name }}/install/filesystem.squashfs
|
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
|
# Localization
|
||||||
|
|
||||||
d-i debian-installer/locale string en
|
d-i debian-installer/locale string en
|
||||||
|
@ -39,6 +39,10 @@ d-i preseed/early_command string \
|
|||||||
# Required at least for 12.10+
|
# Required at least for 12.10+
|
||||||
d-i live-installer/net-image string {{ tftp_server }}/images/{{ item.value.image_short_name }}/install/filesystem.squashfs
|
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
|
# Localization
|
||||||
|
|
||||||
d-i debian-installer/locale string en
|
d-i debian-installer/locale string en
|
||||||
|
@ -39,6 +39,10 @@ d-i preseed/early_command string \
|
|||||||
# Required at least for 12.10+
|
# Required at least for 12.10+
|
||||||
d-i live-installer/net-image string {{ tftp_server }}/images/{{ item.value.image_short_name }}/install/filesystem.squashfs
|
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
|
# Localization
|
||||||
|
|
||||||
d-i debian-installer/locale string en
|
d-i debian-installer/locale string en
|
||||||
|
@ -39,6 +39,10 @@ d-i preseed/early_command string \
|
|||||||
# Required at least for 12.10+
|
# Required at least for 12.10+
|
||||||
d-i live-installer/net-image string {{ tftp_server }}/images/{{ item.value.image_short_name }}/install/filesystem.squashfs
|
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
|
# Localization
|
||||||
|
|
||||||
d-i debian-installer/locale string en
|
d-i debian-installer/locale string en
|
||||||
|
Loading…
x
Reference in New Issue
Block a user