Merge "Add DIB element for building image required for underlay"

This commit is contained in:
Jenkins 2017-02-13 10:33:25 +00:00 committed by Gerrit Code Review
commit 0e817eb5b7
5 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,4 @@
============
mcp-underlay
============
Builds image for MCP underlay provisioning

View File

@ -0,0 +1,5 @@
ubuntu-minimal
openssh-server
devuser
cloud-init-datasources
modprobe-blacklist

View File

@ -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"

View File

@ -0,0 +1,7 @@
grub2-common:
grub-pc-bin:
cloud-init:
linux-image-generic:
net-tools:
isc-dhcp-client:
python:

View File

@ -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