Compare commits

...

2 Commits

Author SHA1 Message Date
Joshua Boniface 3dcaace183 Move to ip link instead of vconfig 2024-03-01 13:24:56 -05:00
Joshua Boniface 436b0d8d69 Switch ISO to Bookworm 2024-03-01 13:24:50 -05:00
2 changed files with 3 additions and 3 deletions

View File

@ -114,8 +114,8 @@ echo
echo "Initializing config..." echo "Initializing config..."
# Initialize the live-build config # Initialize the live-build config
lb config \ lb config \
--distribution bullseye \ --distribution bookworm \
--archive-areas "main contrib non-free" \ --archive-areas "main contrib non-free-firmware" \
--mirror-bootstrap "${mirror_server}" \ --mirror-bootstrap "${mirror_server}" \
--mirror-chroot-security "http://security.debian.org/debian-security" \ --mirror-chroot-security "http://security.debian.org/debian-security" \
--debconf-frontend readline \ --debconf-frontend readline \

View File

@ -572,8 +572,8 @@ interactive_config() {
'static') 'static')
if [[ -n ${vlan_id} ]]; then if [[ -n ${vlan_id} ]]; then
modprobe 8021q >&2 modprobe 8021q >&2
vconfig add ${target_interface} ${vlan_id} >&2
vlan_interface=${target_interface}.${vlan_id} vlan_interface=${target_interface}.${vlan_id}
ip link add link ${target_interface} name ${vlan_interface} type vlan id ${vlan_id} >&2
ip link set ${target_interface} up >&2 || true ip link set ${target_interface} up >&2 || true
ip link set ${vlan_interface} up >&2 || true ip link set ${vlan_interface} up >&2 || true
ip address add ${target_ipaddr} dev ${vlan_interface} >&2 || true ip address add ${target_ipaddr} dev ${vlan_interface} >&2 || true