Restore Odroid HC4
This guide will help you restore your Odroid HC4.
Install Ubuntu Jammy image from Hardkernel's website.
Default credentials: root / odroid
Initial packages
hostnamectl hostname hc401.lab.cowley.tech
useradd -r -m -s /bin/bash ansible
echo "ansible ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/ansible
useradd -m -s /bin/bash -G sudo ccowley
passwd ccowley
su - -s /bin/bash ansible
mkdir .ssh
chmod 700 .ssh
echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPTIgRUxUcj4K6E9xwwuxWyRaR4tkf57cgWkk5eWTnck ccowley@pinebook' >> .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
You should now be able to run Ansible to do the rest
ansible-playbook -i inventory playbook.yml --diff --check --limit hc401.lab.cowley.tech
That should be it!