threefoldtech / 0-bootstrap

Zero-OS Bootstrap Webservice
Apache License 2.0
1 stars 2 forks source link

Script setup/template.sh errors with ubuntu full vm and archlinux micro vm #34

Open Mik-TF opened 1 month ago

Mik-TF commented 1 month ago

Situation

Running the Script setup/template.sh, I get errors with ubuntu full vm and archlinux micro vm

Screenshots

Steps

git clone https://github.com/threefoldtech/0-bootstrap cd 0-bootstrap bash setup/template.sh

- Archlinux, deploy and ssh into micro vm on grid:

yes | pacman -Syu

yes | pacman -S git yes | pacman -S python3 yes | pacman -S python-is-python3 yes | pacman -S python3-flask yes | pacman -S wget yes | pacman -S make yes | pacman -S gcc yes | pacman -S liblzma-dev yes | pacman -S isolinux yes | pacman -S genisoimage yes | pacman -S mkisofs yes | pacman -S xorrisofs yes | pacman -S build-essential yes | pacman -S syslinux yes | pacman -S libz-dev yes | pacman -S dosfstools yes | pacman -S udev

git clone https://github.com/threefoldtech/0-bootstrap cd 0-bootstrap bash setup/template.sh

Mik-TF commented 1 month ago

@scottyeager found the fix. Maybe it would be good to add this in the README?

It works with ubuntu jammy (22.04).

The steps I used:

sudo docker pull ubuntu:jammy
sudo docker pull -it ubuntu:jammy /bin/bash

dpkg --add-architecture i386
apt update
apt install mtools syslinux isolinux libc6-dev-i386 libc6-dbg:i386 git wget genisoimage liblzma-dev build-essential sqlite3 python3-flask

git clone https://github.com/threefoldtech/0-bootstrap
cd 0-bootstrap
bash setup/template.sh
Mik-TF commented 1 month ago

info_grid contains the basics to get started with 0-bootstrap (still WIP) taking into account the info in this issue.

We can check if 0-bootstrap's readme should be updated.