1 2 3 4 5 6 7 8 9 10 11
#!/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