Add virtualbox support
Related-Prod: PRODX-3456
Change-Id: I934b40b5c28ac3900f0342d041f8059983646500
diff --git a/trymos/image_build/files/usr/share/trymos/environment/virtualbox b/trymos/image_build/files/usr/share/trymos/environment/virtualbox
new file mode 100644
index 0000000..df6e3e8
--- /dev/null
+++ b/trymos/image_build/files/usr/share/trymos/environment/virtualbox
@@ -0,0 +1,8 @@
+export NTP_SERVERS=169.254.169.123
+export DOCKER_EE_URL=https://storebits.docker.com/ubuntu
+export DOCKER_UCP_VERSION=3.3.6
+export DOCKER_UCP_IMAGE=mirantis.azurecr.io/lcm/docker/ucp:${DOCKER_UCP_VERSION}
+export MIRANTIS_ARTIFACTORY_URL=https://binary.mirantis.com
+export CEPH_STORAGE_OSD_DEVICE="sdb"
+export CEPH_CLUSTER_FILE="${RELEASE_OPENSTACK_K8S}/examples/miraceph/aio-ceph_local_drives_openstack.yaml"
+export OPENSTACK_CONTEXT_NAME="aio-core-ceph-local-non-dvr"
diff --git a/trymos/image_build/files/usr/share/trymos/launch.sh b/trymos/image_build/files/usr/share/trymos/launch.sh
index 04170b7..c37dfd6 100755
--- a/trymos/image_build/files/usr/share/trymos/launch.sh
+++ b/trymos/image_build/files/usr/share/trymos/launch.sh
@@ -24,6 +24,8 @@
echo "openstack"
elif grep "amazon" -i /sys/devices/virtual/dmi/id/product_version -q; then
echo "amazon"
+ elif grep "virtualbox" -i /sys/devices/virtual/dmi/id/product_name -q; then
+ echo "virtualbox"
else
echo "UNKNOWN"
fi