Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167156 > unrolled thread

add vlan tagging at preseed with early_command

Started byML mail <mlnospam@yahoo.com>
First post2016-04-27 19:20 +0200
Last post2016-04-27 19:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  add vlan tagging at preseed with early_command ML mail <mlnospam@yahoo.com> - 2016-04-27 19:20 +0200

#167156 — add vlan tagging at preseed with early_command

FromML mail <mlnospam@yahoo.com>
Date2016-04-27 19:20 +0200
Subjectadd vlan tagging at preseed with early_command
Message-ID<rsBi2-4Sv-13@gated-at.bofh.it>
Hi,

My network uses VLAN tagging and as such I need to enable VLAN tagging before the preseed automated install of Debian 8 start. For that purpose I have used the following preseed late_command:


d-i preseed/early_command string \
   modprobe 8021q; \
   vconfig add eth0 20; \
   ip link set eth0 up


Unfortunately it does not work because it looks like netcfg puts all interfaces down just before starting DHCP and they do not come backup, as such DHCP fails and the automated installation aborts. 

In case that can be useful here is the netcfg part of my preseed file:

### Network configuration
d-i netcfg/choose_interface select eth0.20
# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string

Anyone has an idea how I could make this work?

Cheers
ML

[toc] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web