[Bug 1967458] Re: ubuntu 20.4.4 Server Autoinstall Error
Masato Yoshida
1967458 at bugs.launchpad.net
Sat Apr 2 10:13:48 UTC 2022
grub command
---------------------------
linux /casper/vmlinuz quiet ip=192.168.xxx.xxx::192.168.xxx.yyy:255.255.255.0:hostname:::192.168.xxx.zzz autoinstall ds=nocloud-net\;s=http://192.168.xxx.www/sda/
---------------------------
user-data
---------------------------
autoinstall:
version: 1
refresh-installer:
update: yes
#early-commands:
apt:
geoip: true
preserve_sources_list: false
primary:
- arches: [amd64, i386]
uri: http://jp.archive.ubuntu.com/ubuntu
- arches: [default]
uri: http://ports.ubuntu.com/ubuntu-ports
identity: {hostname: defaulthost, password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,
realname: ubuntu, username: ubuntu}
keyboard: {layout: jp, toggle: '', variant: ''}
locale: ja_JP.UTF-8
timezone: 'Asia/Tokyo'
ssh:
allow-pw: true
authorized-keys: []
install-server: true
storage:
config:
- {ptable: gpt, path: /dev/sda,
wipe: superblock-recursive, preserve: false, name: '', grub_device: false, type: disk,
id: disk-sda}
- {device: disk-sda, size: 104857600, wipe: superblock, flag: boot, number: 1,
preserve: false, grub_device: true, type: partition, id: partition-0}
- {fstype: fat32, volume: partition-0, preserve: false, type: format, id: format-1}
- {device: disk-sda, size: 1073741824, wipe: superblock, flag: '', number: 2,
preserve: false, type: partition, id: partition-1}
- {fstype: ext4, volume: partition-1, preserve: false, type: format, id: format-2}
- {device: disk-sda, size: -1, wipe: superblock, flag: '', number: 3,
preserve: false, type: partition, id: partition-2}
- name: vg
devices: [partition-2]
preserve: false
type: lvm_volgroup
id: lvm_volgroup-0
- {name: lv_root, volgroup: lvm_volgroup-0, size: 100%, preserve: false,
type: lvm_partition, id: lvm_partition-0}
- {fstype: xfs, volume: lvm_partition-0, preserve: false, type: format, id: format-3}
- {device: format-3, path: /, type: mount, id: mount-3}
- {device: format-2, path: /boot, type: mount, id: mount-2}
- {device: format-1, path: /boot/efi, type: mount, id: mount-1}
shutdown: 'poweroff'
debconf-selections: \
d-i shared/default-x-display-manager select lightdm \
postfix postfix/main_mailer_type select No configuration
packages:
- bridge-utils
- cifs-utils
- nfs-common
- chrony
- gdisk
- net-tools
- conntrack
- inetutils-traceroute
- libblockdev-mdraid2
- libosinfo-bin
- libguestfs-tools
- tree
- dkms
- virtinst
- libvirt0
- libvirt-daemon
- virt-manager
- ovmf
- libvirt-clients
- xserver-xorg
- lubuntu-desktop^
- lightdm
- lightdm-gtk-greeter
- language-pack-gnome-en
- language-pack-gnome-en-base
- language-pack-gnome-ja
- language-pack-gnome-ja-base
- language-selector-common
- language-selector-gnome
- gnome-user-docs-ja
- libzinnia0
- hunspell-en-gb
- kde-config-fcitx
- hunspell-en-za
- hyphen-en-ca
- hyphen-en-gb
- hyphen-en-us
- libreoffice-l10n-en-gb
- libreoffice-l10n-en-za
- libreoffice-l10n-ja
- mozc-utils-gui
- libreoffice-help-ja
- tegaki-zinnia-japanese
- wbritish
- libreoffice-help-common
- firefox-locale-en
- mozc-server
- firefox-locale-ja
- mythes-en-au
- mythes-en-us
- libreoffice-help-en-gb
- libreoffice-help-en-us
- libprotobuf17
- fonts-noto-cjk-extra
- wamerican
- fcitx-mozc
- mozc-data
- ibus-mozc
- hunspell-en-au
- hunspell-en-ca
- xrdp
- xorgxrdp
- remmina
late-commands:
- sed -i -e 's/GRUB_TIMEOUT_STYLE=/#GRUB_TIMEOUT_STYLE=/' /target/etc/default/grub
- sed -i -e 's/GRUB_TIMEOUT=0/GRUB_TIMEOUT=3/' /target/etc/default/grub
- sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/GRUB_CMDLINE_LINUX_DEFAULT="/' /target/etc/default/grub
- sed -i -e 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="intel_iommu=on amd_iommu=on"/' /target/etc/default/grub
- sed -i -e 's/\/swap.img/#\/swap.img/' /target/etc/fstab
- sed -i -e 's/#DefaultTimeoutStartSec=90s/DefaultTimeoutStartSec=10s/' /target/etc/systemd/system.conf
- sed -i -e 's/#DefaultTimeoutStopSec=90s/DefaultTimeoutStopSec=10s/' /target/etc/systemd/system.conf
- mv /target/etc/netplan/00-installer-config.yaml /target/etc/netplan/01-netcfg.yaml
- export SYSTEMD_IGNORE_CHROOT=1
- mount -B /dev/ /target/dev
- mount -B /sys/ /target/sys
- mount -B /sys/firmware/efi/efivars/ /target/sys/firmware/efi/efivars
- mount -B /proc/ /target/proc
- mount -B /run/ /target/run
- chroot /target apt-get update
- chroot /target apt-get -y upgrade
- chroot /target update-grub2
- chroot /target systemctl disable NetworkManager
- chroot /target systemctl disable NetworkManager-wait-online
- chroot /target systemctl mask systemd-networkd-wait-online
- chroot /target systemctl disable apparmor
- chroot /target systemctl set-default multi-user.target
- chroot /target systemctl disable libvirt-guests
- chroot /target systemctl disable libvirtd
- chroot /target systemctl disable xrdp
- chroot /target systemctl enable fstrim.service
- chroot /target systemctl disable avahi-daemon.service
- shutdown -h now
---------------------------
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1967458
Title:
ubuntu 20.4.4 Server Autoinstall Error
Status in subiquity package in Ubuntu:
Incomplete
Bug description:
When ubuntu20.04.4 Server is installed by autoinstall, an error occurs
when executing the packages section.
Since [/target/run/systemd/resolve] is not mounted, it seems that
there is an error in dns name resolution.
If interactive-sections is specified, [/target/run/systemd/resolve]
will be mounted, otherwise it will not be mounted.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Uname: Linux 5.4.0-100-generic x86_64
Architecture: amd64
Date: Fri Apr 1 13:31:39 2022
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=C.UTF-8
Snap: subiquity 22.02.2 ()
Symptom: installation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1967458/+subscriptions
More information about the foundations-bugs
mailing list