Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.48k stars 263 forks source link

Server version recommended to enable SSH by default #383

Closed cqwuxiaolong closed 1 year ago

cqwuxiaolong commented 1 year ago

If sudo dhclient is not executed, there will be no IP,The server should not require a display by default, so I hope it can be configured to automatically obtain the IP address by default

This file is generated from information provided by the datasource. Changes

to it will not persist across an instance reboot. To disable cloud-init's

network configuration capabilities, write a file

/etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:

network: {config: disabled}

network: ethernets: enP3p49s0: dhcp4: true optional: true enP4p65s0: dhcp4: true optional: true eth0: dhcp4: true dhcp6: true version: 2 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/netplan/50-cloud-init.yaml" 17L, 553B 16,12 All

Joshua-Riek commented 1 year ago

What board are you using? I have not seen a problem with ip address being assigned.