This commit is contained in:
31
installers/base.rhai
Normal file
31
installers/base.rhai
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
|
||||
|
||||
fn mycelium(){
|
||||
let name="mycelium";
|
||||
let url="https://github.com/threefoldtech/mycelium/releases/download/v0.6.1/mycelium-x86_64-unknown-linux-musl.tar.gz";
|
||||
download(url,`/tmp/${name}`,5000);
|
||||
copy_bin(`/tmp/${name}/*`);
|
||||
delete(`/tmp/${name}`);
|
||||
|
||||
let name="containerd";
|
||||
|
||||
}
|
||||
|
||||
|
||||
fn zinit(){
|
||||
let name="zinit";
|
||||
let url="https://github.com/threefoldtech/zinit/releases/download/v0.2.25/zinit-linux-x86_64";
|
||||
download_file(url,`/tmp/${name}`,5000);
|
||||
copy_bin(`/tmp/${name}`);
|
||||
delete(`/tmp/${name}`);
|
||||
|
||||
let name="containerd";
|
||||
|
||||
}
|
||||
|
||||
platform_check_linux_x86();
|
||||
// mycelium();
|
||||
zinit();
|
||||
|
||||
"done"
|
Reference in New Issue
Block a user