mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
development: update shell programs for lxd downloader
This commit is contained in:
1 parent
c6792354d8
commit
2d67725cf4
1 file changed
+3
-3
@@ -169,7 +169,7 @@ EOT
|
||||
EOT
|
||||
;;
|
||||
*alpine*)
|
||||
terminal="/bin/bash"
|
||||
terminal="/bin/ash"
|
||||
read -r -d '' commands << EOT
|
||||
echo "nameserver $DNS_SERVER" > /etc/resolv.conf
|
||||
$CURL $CONTEXT_URL/v$selected_tag/one-context-$selected_tag-r1.apk -Lsfo /root/context.apk
|
||||
@@ -177,13 +177,13 @@ EOT
|
||||
EOT
|
||||
;;
|
||||
*opensuse*)
|
||||
terminal="/bin/ash"
|
||||
terminal="/bin/sh"
|
||||
read -r -d '' commands << EOT
|
||||
echo "OpenSuse is not yet supported" > /root/opennebula_context.log
|
||||
EOT
|
||||
;;
|
||||
*)
|
||||
terminal="/bin/bash"
|
||||
terminal="/bin/sh"
|
||||
read -r -d '' commands << EOT
|
||||
echo "This distro is not supported by OpenNebula context" > /root/opennebula_context.log
|
||||
EOT
|
||||
|
||||
Reference in new issue
Block a user