Merge remote-tracking branch 'upstream/tripleo' into tripleo
This commit is contained in:
commit
589d961cb2
4 changed files with 9 additions and 9 deletions
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# ensure we have a amqp client
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -o xtrace
|
|
||||||
|
|
||||||
apt-get -y install python-AMQPLib
|
|
7
flavours/hwdiscovery/install.d/10-hwinfo
Normal file
7
flavours/hwdiscovery/install.d/10-hwinfo
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Support for hard ware discovery
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -o xtrace
|
||||||
|
|
||||||
|
apt-get -y install hwinfo
|
|
@ -105,5 +105,5 @@ function mount_qcow_image() {
|
||||||
|
|
||||||
WORK_DIR=$(mktemp -d)
|
WORK_DIR=$(mktemp -d)
|
||||||
map_nbd $1
|
map_nbd $1
|
||||||
sudo mount $NBD_DEV $WORK_DIR
|
sudo mount ${NBD_DEV}p1 $WORK_DIR
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ function populate_lib () {
|
||||||
echo "Populating /lib"
|
echo "Populating /lib"
|
||||||
|
|
||||||
libs=
|
libs=
|
||||||
for i in "$BUSYBOX" bash modprobe udevd udevadm wget reboot shutdown $BINARY_DEPS ; do
|
for i in "$BUSYBOX" bash lsmod modprobe udevd udevadm wget reboot shutdown $BINARY_DEPS ; do
|
||||||
if "$BUSYBOX" --list | grep "^$i\$" >/dev/null; then
|
if "$BUSYBOX" --list | grep "^$i\$" >/dev/null; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue