Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep ubuntu network settings consistent #834

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 2 additions & 47 deletions images/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,9 @@ files:
- lunar
- mantic
- noble
types:
- container
variants:
- default
- desktop

- path: /etc/network/interfaces
generator: dump
Expand All @@ -367,50 +366,6 @@ files:
source /etc/network/interfaces.d/*.cfg
releases:
- xenial
types:
- container

- path: /etc/netplan/10-lxc.yaml
generator: dump
mode: 0600
content: |-
network:
version: 2
ethernets:
enp5s0:
dhcp4: true
dhcp-identifier: mac
releases:
- bionic
- focal
- jammy
- lunar
- mantic
- noble
types:
- vm
variants:
- default
- desktop

- path: /etc/network/interfaces
generator: dump
content: |-
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto enp5s0
iface enp5s0 inet dhcp

source /etc/network/interfaces.d/*.cfg
releases:
- xenial
types:
- vm

- name: meta-data
generator: cloud-init
Expand Down Expand Up @@ -447,7 +402,7 @@ files:
content: |-
GRUB_RECORDFAIL_TIMEOUT=0
GRUB_TIMEOUT=0
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} console=tty1 console=ttyS0"
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} net.ifnames=0 console=tty1 console=ttyS0"
GRUB_TERMINAL=console
types:
- vm
Expand Down
Loading