Giter Site home page Giter Site logo

ubuntu-server-auto-install's Introduction

ubuntu-server-auto-install

Creates an Ubuntu Server unattended installation ISO

Tested with Ubuntu Server 14.04, 16.04, 17.10, 18.04 and 18.10

Prerequisites

  • Need the isohdpfx.bin from isolinux. To get it, use sudo apt install isolinux
  • Need 'xorriso' installed. To get it, use sudo apt install xorriso -y

Features

  • Minimal interaction
  • Downloads available Ubuntu server release from releases.ubuntu.com
  • Stores and used downloaded images in ~/Downloads
  • By default uses the latest release
  • Creates kickstart configuration for automatic (unattended) installation
  • Alters grub configuration
  • Creates default (sudoer) user as current user with password as username
  • Copies ssh public key of current user
  • Short - about 100 lines of code, easy modifiable
  • Helps to run installation with qemu
  • Suitable for batch installation
  • Works with both UEFI & MBR Boot Options
    • Works great with Hyper-V Gen1 and Gen2 VMs! (If using Gen2, set Secure Boot Template to "Microsoft UEFI Certificate Authority"

Interface

  • No arguments - interactive mode. The program requestes desired version XX.YY.
  • Argument - XX.YY of Ubuntu server version. The program finds the third release digit automatically. For example "16.04.4".
  • Argument - word "latest" - the latest release will be selected automatically, for example 17.04.
  • Argument - URL of iso image to download (if need).
  • Argument - name for iso image. Program will search for the file in directory ~/Downloads
  • Output - file ubuntu-XX.YY.ZZ-server-amd64-auto-install.iso

Limitations

  • Doesn't work with Ubuntu desktop ISOs
  • May or may not work with other versions of Ubuntu Server
    • Does not work with Ubuntu Server 12.04

ubuntu-server-auto-install's People

Contributors

soarinferret avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.