This commit is contained in:
2022-04-25 09:54:03 +08:00
parent 45a7af638f
commit 42b52e1d13
6 changed files with 65 additions and 57 deletions

View File

@@ -48,6 +48,12 @@ function Update {
cd ADD
tar zxf $(ls /release/RUNTIME/apache-maven-*-bin.tar.gz|tail -1)
mv apache-maven-3.6.3 maven
Warn Preparing ssh host keys ...
cp -af /etc/ssh/ssh_host_* ./
chmod 0600 ssh_host_*_key
Warn Preparing ssh rsa ...
cp -af /root/.ssh/{id_rsa,id_rsa.pub} ./
chmod 0600 id_rsa
}
function Build {