[Bug 1803667] Re: new requirement for Automatic Installation

vmware-gos-Yuhua zouy1 at vmware.com
Mon Nov 19 08:26:18 UTC 2018


Right now if i need unattended install, I need to customize the official iso
1.take install guestOS with ubuntu-18.10-desktop-amd64.iso as a example: 
  if I need unattended installation with ubuntu-18.10-desktop-amd64.iso, I need to uncompress the
  iso, modify boot parameter in file boot/grub/grub.cfg and modify file preseed/ubuntu.preseed, 
  and then make a new iso. 

2.take install guestOS with ubuntu-18.10-live-server-amd64.iso as a example:
  if I need unattended installation with ubuntu-18.10-live-server-amd64.iso, 
  I take the following step:
  1)download the example file of answers.yaml at here 
    https://github.com/CanonicalLtd/subi...s/answers.yaml

  2) unsquash the file casper/filesystem.squashfs in the ubuntu-18.10-live-server-amd64.iso, 
     and get the folder " squashfs-root", then mkdir subiquity_config in the folder of 
     squashfs-root

  3) copy the answers.yaml into the squashfs-root/subiquity_config/

  4) repacking the folder squashfs-root into filesystem.squashfs by using mksquashfs command, 
     and repacking the ubuntu-18.10-live-server-amd64.iso by using genisoimage command to 
     make iso.


Expect for unattended install:
  1) don't do any change to official iso. when start to install OS, the installer can support to 
scan the other CD/DVD to get the config file for unattended install.
  
Expected steps:
  1) mount official iso(such as ubuntu-18.10-desktop-amd64.iso) to CD/DVD 
  2) mount another iso which only include config file for unattended install to another CD/DVD.
  3) power on and the installer start to run 
  4) the installer can scan the others CD/DVD and get the config file. It will install OS and config OS automatically without any input.

Thanks.


best regards
Yuhua Zou

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1803667

Title:
  new requirement for Automatic Installation

Status in base-installer package in Ubuntu:
  Incomplete

Bug description:
  Some linux distributions(such as SLES and redhat) support to scan the
  other CD/DVD with OEMDRV label to get the answers file automatically
  for automatic installation and there is no need to change offical ISO.

  But for ubuntu, it's much more complicated and it's different to
  customize different types of ISOs(ubuntu 18.04-desktop.iso ubuntu
  18.04-server.iso, ubuntu 18.04-live-server.iso).

  Would ubuntu have any plan to support this way to install OS
  automatically like SLES/redhat ?

  Thanks.

  Best regards
  Yuhua Zou

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-installer/+bug/1803667/+subscriptions



More information about the foundations-bugs mailing list