mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Add virtualbox support to cloud-early-config so we can use virtualbox for testing
This commit is contained in:
parent
c12767908d
commit
1ad1883b74
@ -140,6 +140,15 @@ get_boot_params() {
|
|||||||
cp -f /var/opt/hyperv/.kvp_pool_0 /var/cache/cloud/cmdline
|
cp -f /var/opt/hyperv/.kvp_pool_0 /var/cache/cloud/cmdline
|
||||||
cat /dev/null > /var/opt/hyperv/.kvp_pool_0
|
cat /dev/null > /var/opt/hyperv/.kvp_pool_0
|
||||||
;;
|
;;
|
||||||
|
virtualbox)
|
||||||
|
# Virtualbox is used to test the virtual router
|
||||||
|
# get the commandline from a dmistring (yes, hacky!)
|
||||||
|
dmidecode | grep cmdline | sed 's/^.*cmdline://' > /var/cache/cloud/cmdline
|
||||||
|
RV=$?
|
||||||
|
if [ $RV -ne 0 ] ; then
|
||||||
|
log_it "Failed to get cmdline from a virtualbox dmi property"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user