1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

remove an unused option --xhyve from ./scripts/run

This commit is contained in:
Ivan Mikushin
2016-03-31 16:10:38 -07:00
parent 60e5ff7ede
commit 2dd57c5f3a

View File

@@ -18,10 +18,6 @@ while [ "$#" -gt 0 ]; do
--notty)
INTERACTIVE=""
;;
--xhyve)
XHYVE=1
QEMU=0
;;
--qemu)
QEMU=1
;;
@@ -40,10 +36,7 @@ while [ "$#" -gt 0 ]; do
shift 1
done
if [ "$XHYVE" == "1" ]; then
HOST=192.168.64.2 # consult `/var/db/dhcpd_leases` or delete it
exec ssh -F ./assets/scripts_ssh_config -i ${KEY:-./assets/rancher.key} rancher@${HOST} "$@"
elif [ "$QEMU" == "1" ]; then
if [ "$QEMU" == "1" ]; then
exec ssh -p 2222 -F ./assets/scripts_ssh_config -i ${KEY:-./assets/rancher.key} rancher@localhost "$@"
elif [ "$QIND" == "1" ]; then
NAME=${NAME:-ros-qind}