I'm trying to test out the Ubuntu autoinstall and I'm struggling to figure out how to work with the apt section.
My goal is to install for example git and docker, which would look like that on a regular terminal installation:
#Python3.6
add-apt-repository ppa:deadsnakes/ppa -y
apt-get update
apt-get install python3.6 -y
#Docker -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
apt-get -y update
apt-get -y install docker-ce docker-ce-cli containerd.io
I read the documentation of the autoinstall - https://ubuntu.com/server/docs/install/autoinstall-reference
And the referenced documentation of Curtin at - https://curtin.readthedocs.io/en/latest/topics/apt_source.html
However, it's not soo clear to me who should I add the repositories.
Would appreciate any guidance or a working example.