mirror of https://github.com/v2ray/v2ray-core
shutdown immediately after build finish
parent
b81ff78af3
commit
c2a52027ea
|
@ -3,7 +3,7 @@
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install jq git file p7zip-full dbus
|
apt-get -y install jq git file p7zip-full
|
||||||
|
|
||||||
function getattr() {
|
function getattr() {
|
||||||
curl -s -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/$2/attributes/$1
|
curl -s -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/$2/attributes/$1
|
||||||
|
@ -102,4 +102,4 @@ curl -H "Content-Type: application/json" --data '{"build": true}' -X POST "${DOC
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
shutdown -h +5
|
shutdown -h now
|
||||||
|
|
Loading…
Reference in New Issue