Ubuntu/Raspberry Pi

From Chorke Wiki
Revision as of 00:30, 14 November 2021 by Shahed (talk | contribs) (Created page with "{| | valagin="top"| '''Network Config:''' <source lang="bash"> ls -lah /Volumes/system-boot/|grep network-config cat <<EOF > /Volumes/system-boot/network-config version: 2 ren...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Network Config:

ls -lah /Volumes/system-boot/|grep network-config
cat <<EOF > /Volumes/system-boot/network-config
version: 2
renderer: networkd
ethernets:
  eth0:
    dhcp4: true
    optional: true
wifis:
  wlan0:
  dhcp4: true
  optional: true
  access-points:
    "ChorkeOrg_2.4GHz":
      password: "sadaqah!"
EOF

System Config:

ls -lah /Volumes/system-boot/|grep user-data






cat <<EOF > /Volumes/system-boot/user-data
chpasswd:
  expire: true
  list:
  - ubuntu:ubuntu
ssh_pwauth: true
power_state:
  mode: reboot
EOF