Compare commits
2 Commits
bc5596b7a0
...
3dcaace183
Author | SHA1 | Date |
---|---|---|
Joshua Boniface | 3dcaace183 | |
Joshua Boniface | 436b0d8d69 |
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue