mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
shutdown immediately after build finish
This commit is contained in:
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
Block a user