우분투 20.04 이전에는 /etc/network/interfaces를 편집해야 했으나 내 이미지는 20.04라 다르다.
vi /etc/netplan/00-installer-config.yaml
network:
ethernets:
ens32:
**dhcp4:true**
~~addresses:~~
~~- 211.183.3.100/24~~
~~gateway4: 211.183.3.2~~
nameservers:
addresses:
- 8.8.8.8
search: []
version: 2
netplan apply
ip add
IP 주소 확인 후 SSH 접속
init 0
VM 설정에서