Template generation scripts for IsardVDI
The app can be installed within any IsardVDI's virtual machine running an Ubuntu (Server and Desktop) 22.04 LTS & 24.04 LTS, but the network interfaces must be setup in the following order:
- Default: the isolated IsardVDI network which provides internet access.
- Personal1: this network allows connecting virtual machines to each other (must be owned by the same user).
- WireguardVPN: this network provides access through a tunnel, in order to connect any host local to the virtual machine.
- Puigcastellar1 (group network): this network allows communication between machines within the same group, even from differents users. Notice that "group networks" can be named different in your case.
The app can be installed within any IsardVDI's virtual machine running an Ubuntu (Server and Desktop) 22.04 LTS & 24.04 LTS:
- Deploy the app cloning the repo:
git clone https://github.com/FherStk/isard-scripts.git
- Go to the repo folder:
cd isard-scripts
- Now to your current distro's folder:
cd ubuntu-24.04
- Then, install the app with sudo (it will be installed at /etc/isard-scripts) and clean the bash history:
sudo ./install.sh
history -c
- Shutdown the virtual machine and create a template from it.
- The script's deployemnt prompt will be displayed on first boot (won't be disabled if the promt is cancelled), so the user will be able to choose which template must be deployed (select an option with space and
accept
) or do nothing (cancel
). The prompt can also be forced by runningsudo ./run.sh
after the user login.
Please, follow this steps in order to test any script during development:
- Start a clean machine and login
- Cancel the script startup execution
- Go to the git folder:
cd ~/isard-scripts
- Update the repo:
sudo git pull
- Set the current git branch to the one where you're developing the script:
sudo git checkout <branch_name>
- Test the script with
sudo ./scripts/<script_name.sh>
or the launcher withsudo ./run.sh
- When done, perform a pull request and every machine will be updated on startup.