Merge "Add DIB element for building image required for underlay"
This commit is contained in:
commit
0e817eb5b7
|
@ -0,0 +1,4 @@
|
|||
============
|
||||
mcp-underlay
|
||||
============
|
||||
Builds image for MCP underlay provisioning
|
|
@ -0,0 +1,5 @@
|
|||
ubuntu-minimal
|
||||
openssh-server
|
||||
devuser
|
||||
cloud-init-datasources
|
||||
modprobe-blacklist
|
|
@ -0,0 +1,5 @@
|
|||
export DIB_DEV_USER_USERNAME="vagrant"
|
||||
export DIB_DEV_USER_PASSWORD="vagrant"
|
||||
export DIB_DEV_USER_PWDLESS_SUDO="yes"
|
||||
export DIB_CLOUD_INIT_DATASOURCES="ConfigDrive"
|
||||
export DIB_MODPROBE_BLACKLIST="evbug"
|
|
@ -0,0 +1,7 @@
|
|||
grub2-common:
|
||||
grub-pc-bin:
|
||||
cloud-init:
|
||||
linux-image-generic:
|
||||
net-tools:
|
||||
isc-dhcp-client:
|
||||
python:
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
echo "127.0.0.1 localhost" >> /etc/hosts
|
Loading…
Reference in New Issue