- ESP:
20GB HD,4GB RAM,Ubuntu 20.04 LTS Server - USB flash drive
gitdockerdocker-composepython 3.6or later, with thePyYAMLmodule installed.
Note: You must install Docker from the Docker repository. Installation by Docker package is not supported.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin# standalone docker-compose installation
sudo curl -SL https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# to verify the installation
docker compose versionIf docker-compose is not installed correctly, then use this(least recommended):
sudo apt update
sudo apt install docker-composesudo apt install gitsudo apt update
sudo apt install -y python3 python3-pip
pip3 install PyYAML fqdnsudo apt install net-tools
# for searching
sudo apt install silversearcher-ag
# to get the progress output of flashing the USB drive
sudo apt install pv sudo su -
git clone https://github.com/ShubhamKumar89/pwek-OpenDEK ~/dek
cd dek/
./dek_provision.py --init-config > custom.ymlCopy the changes from the custom.yml in this repository to the custom.yml in the dek directory and change the host_ip section with your IP.
./dek_provision.py --run-esp-for-usb-boot --config=custom.ymlChange the sdb with your flash drive. To check all the attached USBs, use lsblk.
./esp/flashusb.sh --image ./out/Smart_Edge_Open_Developer_Experience_Kits-efi.img --bios efi --dev /dev/sdb