Ubuntu/Raspberry Pi
Network Config: ls -lah /Volumes/system-boot/|grep network-config
cat <<EOF > /Volumes/system-boot/network-config
version: 2
ethernets:
eth0:
dhcp4: true
optional: true
wifis:
wlan0:
dhcp4: true
optional: true
access-points:
ChorkeOrg_2.4GHz:
password: "sadaqah!"
ChorkeOrg:
password: "sadaqah!"
EOF
|
User Data: ls -lah /Volumes/system-boot/|grep user-data
cat <<EOF > /Volumes/system-boot/user-data
chpasswd:
expire: true
list:
- pi:sadaqah!
ssh_pwauth: true
power_state:
mode: reboot
EOF
|