Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subiquity/Install/install/postinstall/install_build-essentials returned non-zero exit status 100 #202

Open
basictheprogram opened this issue Jun 2, 2021 · 1 comment

Comments

@basictheprogram
Copy link
Contributor

Banners_and_Alerts_and_ubuntu2004_and_New_Issue_·_boxcutter_ubuntu

Not sure how to get to the local filesystem when the installer fails on a VMware Fusion build. The crash log is written to /var/crash/nnnnn.nnnnn.install_fail.crash

@basictheprogram
Copy link
Contributor Author

This http/user-data got me around the above crash/error, I commented out the build-essential package

#cloud-config
autoinstall:
  version: 1
  identity:
    hostname: vagrant
    password: '$6$iCc.WH.j$EuCSsvXtnIX2UnrunKZHApB3uvKuxplkAL1UBtBkab047y/jyn9WnpVAkc57jtqSv.hsLGje.milvneydC.Cw/'
    username: vagrant
  network:
    version: 2
    ethernets:
      enp0s3:
        dhcp4: true
        dhcp-identifier: mac
  ssh:
    install-server: true
  packages:
  #  - build-essential
    - perl
  late-commands:
    - 'echo "vagrant        ALL=(ALL)       NOPASSWD: ALL" > /target/etc/sudoers.d/vagrant'
    - chmod 440 /target/etc/sudoers.d/vagrant
    - apt-get -y install linux-headers-$(uname -r)
  locale: en_US
  keyboard:
    layout: us
    variant: ''

The problem now is Ethernet interface ens32 does not get assigned an IP address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant