#!/bin/bash source ./openrc admin admin sudo modprobe nbd IMAGE_UUID=`glance image-list | awk '/.*ami/{print $2}'` glance image-update $IMAGE_UUID --property os_command_line='root=/dev/xvda rw rootwait console=hvc0 earlyprintk' exit 0