diskimage-builder/elements/cinder/os-refresh-config/pre-configure.d/72-cinder
Clint Byrum 91351658b3 Install os-refresh-config scripts automatically
Updating the cinder element to reflect the new desired way to ship
os-refresh-config scripts.

Change-Id: Ibde1275725241204f6097ad7cc0ba0de5e6cd431
2013-03-06 11:23:59 -08:00

9 lines
369 B
Bash
Executable File

#!/bin/bash
set -eu
# installation requires building a kernel module.
# - TODO: use generic 'install-packages' instead of apt-get once
# it is available from first-boot scripts.
DEBIAN_FRONTEND=noninteractive apt-get install --yes linux-headers-`uname -r`
DEBIAN_FRONTEND=noninteractive apt-get install --yes iscsitarget iscsitarget-dkms openvswitch-datapath-dkms