Issue install 20.04 with autoinstall
Jerry Geis
jerry.geis at gmail.com
Sat Jan 23 20:31:23 UTC 2021
HI Tom -
#cloud-config
autoinstall:
version: 1
early-commands:
- systemctl stop ssh # otherwise packer tries to connect and exceed max
attempts
network:
network:
version: 2
ethernets:
eth0:
dhcp4: yes
dhcp-identifier: mac
eno1:
dhcp4: yes
dhcp6: no
dhcp-identifier: mac
enp1s0:
dhcp4: yes
dhcp6: no
dhcp-identifier: mac
apt:
preserve_sources_list: false
primary:
- arches: [amd64]
uri: "http://archive.ubuntu.com/ubuntu/"
ssh:
install-server: yes
allow-pw: no
identity:
hostname: VMImage
username: silentm
password: $1$xyz$V5reF9l3SpYlSCJ7ebtij0
locale: en_US
packages:
- build-essential
- gdb
- nfs-common
- network-manager
- net-tools
user-data:
timezone: America/New_York
disable_root: false
late-commands:
- echo Section - late-commands > /target/root/late-commands
debconf-selections: |
storage:
layout:
name: direct
users:
- default
- name: silentm
passwd: $1$xyz$V5reF9l3SpYlSCJ7ebtij0
shell: /bin/bash
lock-passwd: false
ssh_pwauth: True
chpasswd: { expire: False }
sudo: ALL=(ALL) NOPASSWD:ALL
groups: users, silentm
Jerry
On Sat, Jan 23, 2021 at 3:21 PM Tom H <tomh0665 at gmail.com> wrote:
> On Wed, Jan 20, 2021 at 5:20 PM Jerry Geis <jerry.geis at gmail.com>
> wrote:
> >
> > I am getting the below issue when installing with autoinstall.
> >
> > 2021-01-20 15:03:14,014 DEBUG subiquitycore.controller.filesystem:171
> self.ai_data = {'layout': {'name': 'direct'}}
> > 2021-01-20 15:03:14,015 ERROR root:39 finish:
> subiquity/Filesystem/apply_autoinstall_config/convert_autoinstall_config:
> FAIL: 'NoneType' object has no attribute 'grub_device'
> >
> > Below is the log.
> >
> > What do I do with that ???
> >
> > My config section is easy..
> > storage:
> > layout:
> > name: direct
>
> Please post your entire user-data.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210123/aa2b2ab8/attachment.html>
More information about the ubuntu-users
mailing list