There are two choices concerning the redpesk container installation. The first one is launching the script in the simple installation section. The second one is via the advanced installation, which is also available for a manual installation.

Simple installation

# retrieve the installation script
chmod +x

# Choose a name for your container
# Note that name can only contain alphanumeric and hyphen characters
# launch the script
./ create ${container_name}
# then follow the instructions
# the requested password is 'iotbzh'

You will be prompted for your host’s root password to perform the LXD installation.

At the end of the script, you will also be asked for an optional host directory that you want to have to access to within the container.

Depending of your host’s distribution, you may need to relaunch the script after a reboot.

The installation of your build container is then finished. If things ever go bad, the following command can be useful:

# DO NOT execute this command if there is no problem with the installation
./ clean ${container_name}

Get in your build container

You can enter your build container using SSH from your host:

ssh devel@${container_name}
# password for devel: devel