Gerenciador de Rede do Ubuntu 16 Desktop pxeboot não funciona

0

Eu tenho trabalhado em uma configuração do pxeboot com uma instalação automática pré-configurada para o desktop do Ubuntu 16.04. Eu tenho tudo funcionando, exceto a rede. Sempre que eu faço uma instalação do pxeboot (automatizada ou manual), o Network Manager não captura a conexão de rede. Após a reinicialização, quando a área de trabalho é exibida, o Network Manager não lista conexões nem dispositivos gerenciados. No entanto, o arquivo / etc / network / interfaces tem a interface Ethernet principal em sua lista e está configurado para manual. Eu sei que provavelmente é melhor não ter o gerenciador de rede assumindo a interface durante a instalação ; no entanto, após a reinicialização, seria bom se o controle fosse entregue ao Network Manager. Eu sou capaz de editar / etc / network / interfaces e se eu remover as entradas de ethernet primárias, salve e reinicie o Network Manager ele encontra a interface e começa a gerenciá-lo.

O guia da Ubiquity Automation indica que os comandos di netcfg não são suportados durante a instalação do Ubiquity, o que não ajuda - link

Aqui está o meu arquivo preseed:

#### Contents of the preconfiguration file (for xenial)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US

# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select us

### User Creation
# To create a normal user account.
d-i passwd/user-fullname string user
d-i passwd/username string user
d-i passwd/user-password-crypted password <removed>
d-i user-setup/allow-password-weak boolean true

# Set to true if you want to encrypt the first user's home directory.
d-i user-setup/encrypt-home boolean false

### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean false

# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string US/Eastern

# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean false

### Disk setup
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto/choose_recipe select atomic

d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

### Controlling how partitions are mounted
# The default is to mount by UUID, but you can also choose "traditional" to
# use traditional device names, or "label" to try filesystem labels before
# falling back to UUIDs.
d-i partman/mount_style select uuid

### Boot loader installation
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true

Aqui está minha linha de acréscimo no arquivo pxelinux. Isso é tudo uma linha, mas eu tornei isso um pouco mais legível aqui.

append automatic-ubiquity
auto=true 
initrd=ubuntu16desktop/initrd.lz 
url=http://192.168.1.30/ubuntu16desktop/preseed.seed 
keyboard-configuration/layoutcode=us
boot=casper 
netboot=nfs
nfsroot=192.168.1.30:/var/ftp/pub/ubuntu16desktop
interface=auto

Depois de instalar isto é o que está no meu / etc / network / interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto ens3
iface ens3 inet manual

Tudo o que tenho que fazer é remover as duas últimas linhas e reiniciar o gerenciador de rede, mas esse tipo de instalação sai da posição "mãos livres". Existe uma maneira preferível de ter o instalador da Ubiquity configurando o Network Manager durante uma instalação do pxeboot ou qual é a melhor maneira de hack and slash para fazer isso?

    
por Primordial 08.01.2018 / 21:51

0 respostas