Support HTTP boot

MaaS 2.3 now supports serving ephemeral
images via HTTP instead of iSCSI

Change-Id: I6c8d4d2c89cfc40f5352edc04bffa5b27ec785df
This commit is contained in:
Scott Hussey 2018-01-09 14:06:17 -06:00
parent b664579d57
commit 5cb7936b40
3 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,7 @@ function configure_boot_sources {
then then
maas ${ADMIN_USERNAME} boot-source update 1 url=http://localhost:8888/maas/images/ephemeral-v3/daily/ maas ${ADMIN_USERNAME} boot-source update 1 url=http://localhost:8888/maas/images/ephemeral-v3/daily/
fi fi
maas ${ADMIN_USERNAME} maas set-config name=http_boot value=${MAAS_HTTP_BOOT}
} }
KEY=$(maas-region apikey --username=${ADMIN_USERNAME}) KEY=$(maas-region apikey --username=${ADMIN_USERNAME})

View File

@ -56,6 +56,8 @@ spec:
value: {{ .Values.conf.maas.proxy.peer_proxy_enabled | quote }} value: {{ .Values.conf.maas.proxy.peer_proxy_enabled | quote }}
- name: MAAS_PROXY_SERVER - name: MAAS_PROXY_SERVER
value: {{ .Values.conf.maas.proxy.proxy_server }} value: {{ .Values.conf.maas.proxy.proxy_server }}
- name: MAAS_HTTP_BOOT
value: {{ .Values.conf.maas.http_boot | quote }}
- name: MAAS_NTP_SERVERS - name: MAAS_NTP_SERVERS
value: {{ .Values.conf.maas.ntp.ntp_servers }} value: {{ .Values.conf.maas.ntp.ntp_servers }}
- name: MAAS_NTP_EXTERNAL_ONLY - name: MAAS_NTP_EXTERNAL_ONLY

View File

@ -123,6 +123,7 @@ conf:
maas: maas:
override: override:
append: append:
http_boot: true
url: url:
maas_url: null maas_url: null
ntp: ntp: