Skip to content

tateru/tateru-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installer

You need to have Docker and bsdtar installed to build the installer. To run the virtual environment you also need python3 and qemu.

Build installer ISO using make iso. Build archive containing files for netboot using make netboot.

You can try the image using make qemu.

Testing

# Generate a new ssh-key
$ ssh-keygen -t ed25519
# Start the fake deplyoment infra and register your pubkey
$ python3 fake-infra.py
# Build the installer and start a local VM
$ make qemu
# Register the SSH key
$ curl \
  'http://127.0.0.1:7707/v1/machines/00000000-0000-0000-0000-000000000001/boot-installer' \
  --data "{\"ssh_pub_key\": \"$(<${HOME}/.ssh/id_ed25519.pub)\"}"
# In a new terminal, ssh to the installer
$ ssh root@localhost -p 5555 -i ~/.ssh/id_ed25519