Usage:
./lxcupdate.sh container1 container2 container3
| #! /usr/bin/env bash | |
| # Script to install NixOS from the Hetzner Cloud NixOS bootable ISO image. | |
| # (tested with Hetzner's `NixOS 20.03 (amd64/minimal)` ISO image). | |
| # | |
| # This script wipes the disk of the server! | |
| # | |
| # Instructions: | |
| # | |
| # 1. Mount the above mentioned ISO image from the Hetzner Cloud GUI |
| <?php | |
| /********************************************* | |
| * Import Users by JSON file | |
| * | |
| *********************************************/ | |
| function import($file){ | |
| $string = file_get_contents($file); // Read JSON file | |
| $users = json_decode($string, true); // Decode JSON to $users array | |
| // Iterate to each user |
Usage:
./lxcupdate.sh container1 container2 container3
| #!/bin/bash | |
| PROGNAME=${0##*/} | |
| INPUT='' | |
| QUIET='0' | |
| NOSTATS='0' | |
| max_input_size=0 | |
| max_output_size=0 | |
| usage() |