Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mik-tf opened this issue Jul 18, 2024 · 2 comments
Open

Comments

@mik-tf
Copy link

mik-tf commented Jul 18, 2024

Situation

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

Screenshots

  • Ubuntu full VM on grid
    image
  • Archlinux micro VM on grid
    image

Steps

  • Ubuntu, deploy and ssh into full vm on grid:
apt-get update
apt-get install -y git 
apt-get install -y python3 
apt-get install -y python-is-python3
apt-get install -y python3-flask
apt-get install -y wget
apt-get install -y make
apt-get install -y gcc
apt-get install -y liblzma-dev
apt-get install -y isolinux
apt-get install -y genisoimage
apt-get install -y mkisofs
apt-get install -y xorrisofs
apt-get install -y build-essential
apt-get install -y syslinux
apt-get install -y libz-dev
apt-get install -y dosfstools
apt-get install -y udev

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
Copy link
Author

mik-tf commented Jul 18, 2024

@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:

  • Deploy Ubuntu 22.04 (Jammy) Docker
sudo docker pull ubuntu:jammy
sudo docker pull -it ubuntu:jammy /bin/bash

  • Run the following lines

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 mik-tf closed this as completed Jul 18, 2024
@mik-tf mik-tf reopened this Jul 18, 2024
@mik-tf
Copy link
Author

mik-tf commented Jul 18, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant