Giter VIP home page Giter VIP logo

ubuntu-autoinstall-iso's Introduction

ubuntu-autoinstall-iso

IMPORTANT: for Ubuntu 20.04, checkout the ubuntu-20.04 branch. This branch only works with Ubuntu 22.04

This script creates a ubuntu server iso image with cloud-init autoinstall configuration (using nolcoud).

An example user-data file is included. You may want to customise this, in particular the passwords! For more information about the user data, see the cloud-init documentation https://cloudinit.readthedocs.io/en/latest/topics/examples.html

usage

download, save or clone the make-iso.sh file from this repo.

set permissions using chmod 775 make-iso.sh and execute ./make-iso.sh

Create or customise the user-data file with your desired settings for the auto-install. It's worth noting that passwords should be hased (but even hashed they they are not totally secure). Use:

mkpasswd --method=SHA-512 --rounds=4096

To generate a hashed password (on debian/ubuntu mkpasswd is installed with the whois package for some reason ๐Ÿคท)

The script will check for pre-requisite commands, download Ubuntu Server 22.04, copy in any user-data or meta-data files present in the same directory as the script and create a new ISO image prefixed with autoinstall-

example username and password are both ubuntu

Acknowledgements

The 22.04 update is, in part, based on: https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/

ubuntu-autoinstall-iso's People

Contributors

sam-r avatar

Watchers

James Cloos avatar  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.