device-edge-images repository filesproduction-image-definition.yml and production-kickstart.ks files with the Microshift values in the examples directoryproduction-image-definition.yml and production-kickstart.ks that you used to create the imagestudent-kickstarts and the student-repos directories.sudo cat /etc/hosts on the edge devicedevice-edge-configs/OS/sudoers file in Gitea to force sudo to ask for a password/etc/sudoers in the edge device has the desired configurationsudo cat /etc/hosts command ask for a password/etc/sudoers file and remove password authentication againcat /etc/sudoers in the edge device to check that you have the “right” configuration back/etc/ with cat /usr/local/bin/watch_etc.pySection 4 - Edge computing APPs lifecycle management
APPs with Podman and Systemd
podman ps on the edge devicewatch podman ps on the edge devicehttp://<edge device IP>:8080 from your laptopwatch podman ps terminalhttp:<edge device ip>:8081 in your laptopprod and v1 tags in Quay.io for the 2048 continer imagev2watch 'podman auto-update --dry-run; echo ""; podman ps'prod container image tag to v2 in Quay.ioprod container image tag to v3 where the image locad problem is solved and show the fixed app in your Browserdevice-edge-configs/APPs/podman/quadlet folder in Giteapodman ps on the devicehttp:<edge device IP>:<configured port>device-edge-configs/APPs/podman/quadlet/app_fuxa_scada.container file and see the change in the APPAPPs with Microshift
device-edge-configs/APPs/microshift/manifest in Gitea.watch "oc --kubeconfig /var/lib/microshift/resources/kubeadmin/kubeconfig get pod --all-namespace" as roothttp://frontend-game2048.apps.<edge device ip>.nip.io in your laptopwatch on the CLIv3 in device-edge-configs/APPs/microshift/manifest/2-deployment.ymlwatch command and wait until the new POD is runninghttp://frontend-game2048.apps.<edge device ip>.nip.io in your laptop and show the 2048 app with the image loadedwatch "oc --kubeconfig /var/lib/microshift/resources/kubeadmin/kubeconfig get pod --all-namespace"device-edge-configs/APPs/microshift/helm/wordpress_vars.yml in Giteahttp://wordpress-wordpress.apps.<edge device ip>.nip.io in your laptop when the PODs are runningdevice-edge-configs/APPs/microshift/helm/wordpress_vars.yml and change the replicaCount numberSection 5 - Bulletproof system upgrades
watch "rpm-ostree upgrade --preview"builder_compose_pkgs in the image definition by removing python-inotify and adding zsh01-check-packages.sh scriptrpm-ostree upgrade --preview in the edge systemrpm-ostree upgrade and rebooting using the CLI or by launching the “	OSTree Upgrade” Job Template in AAPrpm-ostree upgrade --check that we still have pending the upgradepython-inotify package.