Giter Site home page Giter Site logo

sunsparc64 / fedora-kvm-image-builder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tritondatacenter/fedora-kvm-image-builder

0.0 1.0 0.0 40 KB

Builder scripts for kvm Fedora image

Home Page: https://docs.joyent.com/images/linux/fedora

License: Mozilla Public License 2.0

Shell 100.00%

fedora-kvm-image-builder's Introduction

Fedora KVM Image Builder

This repo allows one to create a custom Fedora ISO and image with the necessary packages and tooling for deploying on SmartOS, SDC and the Joyent Public Cloud.

Requirements

In order to use this repo, you need to have the following:

  • SmartOS
  • A running Fedora or CentOS instance (physical or virtual) with spare disk space
  • sdc-vmtools

Setup

Included is a setup_env.sh script to be run inside the Fedora or CentOS instance. This script will install the necessary packages required for the create-iso and script.

Usage

To build a custom ISO, run the create-iso script:

./create-iso -m <MIRROR> -i <ISO> -c <ISO_CHECKSUM> -d <ISO_DIR> -M <MOUNT_POINT> -l <DVD_LAYOUT> -f <ISO_FILENAME>

See ./create-iso -h for usage.

The resulting ISO will be ready to boot and install a clean image ready for SmartOS, SDC and the Joyent Public Cloud.

On a SmartOS machine you can then create an image with:

./create-image -i <ISO> -n <IMAGE_NAME> -d <DESC> -u <HOMEPAGE> -o <OWNER_UUID> -p <IP> -m NETMASK -g <GATEWAY> -v <VLAN_ID> -U <NETWORK_UUID>

See ./create-image -h for usage.

Default Settings For Image

  • Stock Kernel
  • US Keyboard and Language
  • Firewall enabled with SSH allowed
  • Passwords are using SHA512
  • Firstboot disabled
  • SELinux is set to permissive
  • Timezone is set to UTC
  • Disk is 10GB in size
  • Default packages installed
    • @core
    • man
    • net-tools
    • ntp
    • ntpdate
    • parted
    • vim-enhanced
    • vim-minimal
    • wget

fedora-kvm-image-builder's People

Contributors

chorrell avatar

Watchers

 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.