Hallo,
ich hatte länger nichts mit Ubuntu zutun und steige jetzt wieder mit der 18.04 ein. Auf meiner VM habe ich die Server Version installiert, also ohne grafischem Desktop. Nach der Installation startet leider die Netzwerkschnittstelle nicht automatisch, ich muss sie immmer mit einem:
sudo netplan apply
erst akivieren. Wo finde ich die Einstellung, damit die Schnittstelle automatisch beim Neustart mit startet?
Hier meine Config, die unter /etc/netplan/50-cloud-init.ymal zu finden ist:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # 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: ens192: addresses: - 192.168.201.159/24 gateway4: 192.168.201.1 nameservers: addresses: - 192.168.201.81 - 192.168.201.82 search: - test.local optional: true version: 2 |
Viele Grüße TiTux