30 lines
640 B
Plaintext
30 lines
640 B
Plaintext
|
|
|
|
|
|
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}`);
|
|
screen_new("zinit", "zinit init");
|
|
}
|
|
|
|
platform_check_linux_x86();
|
|
// mycelium();
|
|
zinit();
|
|
|
|
"done"
|