-
Download the Ubuntu 22.04.4 ISO.
-
Install using VMware Workstation (needed due to Compute Engine requirements).
-
Mount a
$HOME/Desktop/VM
folder from host to guest. -
Update packages to the latest versions using
sudo apt update && sudo apt upgrade
. -
Perform Linux post-installation steps for Docker.
-
Generate SSH keys using
ssh-keygen
. -
Add
$HOME/.ssh/id_rsa.pub
to GitHub to clone GitHub repositories. -
Create the
$HOME/git
folder usingmkdir -p $HOME/git
. -
Clone the FlockOS repository using
git clone git@github.com:RecordEvolution/ReswarmOS.git
. -
Set the Git username and email:
git config --global user.name "username"
git config --global user.email "email"
- Install Cubic:
sudo apt-add-repository universe
sudo apt-add-repository ppa:cubic-wizard/release
sudo apt update
sudo apt install --no-install-recommends cubic
-
Install Make and VS Code:
sudo apt install make && sudo snap install code --classic
. -
Navigate to the Cubic folder and download the source ISO:
cd $HOME/git/ReswarmOS/cubic && make download-source
- Remove the
cubic.conf
file:
rm $HOME/git/ReswarmOS/cubic/project/amd64/cubic.conf
-
Launch Cubic using
make setup-amd64
.
- Select the source image and target folder (
$HOME/git/ReswarmOS/cubic/source
and$HOME/git/ReswarmOS/cubic/target
). - Set the target ISO name as
ReswarmOS-0.0.1-installer-amd64.iso
. - Set the volume ID and disk name.
- Click "Next".
-
Overlay the root filesystem using
make overlay-fs-amd64
. -
Run the
$HOME/git/ReswarmOS/cubic/scripts/setup-rootfs.sh
file in the virtual environment. This can be done by copying and pasting the contents into the virtual environment.
chmod +x $HOME/git/ReswarmOS/cubic/scripts/setup-rootfs.sh
./setup-rootfs.sh
This will set up Docker and all required binaries for the installer ISO. When finished, click "Next".
-
Copy over preseed and boot configs using
make setup-efi-amd64 && make setup-boot-amd64
and click "Next". -
Generate the final ISO image using default compression.
-
Navigate to
$HOME/git/ReswarmOS/buildroot
. -
Run
make setup && make build
.
-
Install the Google Cloud CLI
-
Initialize Gcloud:
gcloud init
- Import the VMWare OVF using Gcloud
- Load the kernel modules:
sudo modprobe -a vmw_vmci vmmon
- Start the network:
sudo modprobe vmnet && sudo vmware-networks --start
sudo systemctl enable --now vmware-networks.service
- Install VMware tools on Ubuntu:
sudo apt install open-vm-tools open-vm-tools-desktop