Created
August 13, 2016 23:19
-
-
Save qnm/3f7a144677fc83b815eeeb4fbe12655d to your computer and use it in GitHub Desktop.
Hetzner CoreOS Install Conf for VirtAPI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ====================================================== | |
## Hetzner Online GmbH - installimage - standard config | |
## ====================================================== | |
## ==================== | |
## HARD DISK DRIVE(S): | |
## ==================== | |
# Onboard: SAMSUNG HD753LJ | |
DRIVE1 /dev/sda | |
# Onboard: SAMSUNG HD753LJ | |
DRIVE2 /dev/sdb | |
## =============== | |
## SOFTWARE RAID: | |
## =============== | |
## activate software RAID? < 0 | 1 > | |
SWRAID 1 | |
## Choose the level for the software RAID < 0 | 1 | 10 > | |
SWRAIDLEVEL 1 | |
## ============ | |
## BOOTLOADER: | |
## ============ | |
## Do not change. This image does not include or support lilo (grub only)!: | |
BOOTLOADER grub | |
## ========== | |
## HOSTNAME: | |
## ========== | |
## which hostname should be set? | |
## | |
HOSTNAME CoreOS-1010-64-production | |
## ========================== | |
## PARTITIONS / FILESYSTEMS: | |
## ========================== | |
## define your partitions and filesystems like this: | |
## | |
## PART <mountpoint/lvm> <filesystem/VG> <size in MB> | |
## | |
## * <mountpoint/lvm> mountpoint for this filesystem *OR* keyword 'lvm' | |
## to use this PART as volume group (VG) for LVM | |
## * <filesystem/VG> can be ext2, ext3, reiserfs, xfs, swap *OR* name | |
## of the LVM volume group (VG), if this PART is a VG | |
## * <size> you can use the keyword 'all' to assign all the | |
## remaining space of the drive to the *last* partition. | |
## you can use M/G/T for unit specification in MIB/GIB/TIB | |
## | |
## notes: | |
## - extended partitions are created automatically | |
## - '/boot' cannot be on a xfs filesystem | |
## - '/boot' cannot be on LVM! | |
## - when using software RAID 0, you need a '/boot' partition | |
## | |
## example without LVM (default): | |
## -> 4GB swapspace | |
## -> 512MB /boot | |
## -> 10GB / | |
## -> 5GB /tmp | |
## -> all the rest to /home | |
#PART swap swap 4096 | |
#PART /boot ext2 512 | |
#PART / reiserfs 10240 | |
#PART /tmp xfs 5120 | |
#PART /home ext3 all | |
# | |
## | |
## to activate LVM, you have to define volume groups and logical volumes | |
## | |
## example with LVM: | |
# | |
## normal filesystems and volume group definitions: | |
## -> 512MB boot (not on lvm) | |
## -> all the rest for LVM VG 'vg0' | |
#PART /boot ext3 512M | |
#PART lvm vg0 all | |
#PART lvm vg0 all | |
# | |
## logical volume definitions: | |
#LV <VG> <name> <mount> <filesystem> <size> | |
# | |
#LV vg0 root / ext4 10G | |
#LV vg0 swap swap swap 4G | |
#LV vg0 tmp /tmp reiserfs 5G | |
#LV vg0 home /home xfs 20G | |
# | |
# | |
## your system has the following devices: | |
# | |
# Disk /dev/sda: 750 GB (=> 698 GiB) doesn't contain a valid partition table | |
# Disk /dev/sdb: 750 GB (=> 698 GiB) doesn't contain a valid partition table | |
# | |
## Based on your disks and which RAID level you will choose you have | |
## the following free space to allocate (in GiB): | |
# RAID 0: ~1396 | |
# RAID 1: ~698 | |
# | |
## NOTICE: This image does not support custom partition sizes. | |
## NOTICE: Please keep the following lines unchanged. They are just placeholders. | |
PART swap swap 8G | |
PART /boot ext3 512M | |
PART / ext4 all | |
## ======================== | |
## OPERATING SYSTEM IMAGE: | |
## ======================== | |
## full path to the operating system image | |
## supported image sources: local dir, ftp, http, nfs | |
## supported image types: tar, tar.gz, tar.bz, tar.bz2, tar.xz, tgz, tbz, txz | |
## examples: | |
# | |
# local: /path/to/image/filename.tar.gz | |
# ftp: ftp://<user>:<password>@hostname/path/to/image/filename.tar.bz2 | |
# http: http://<user>:<password>@hostname/path/to/image/filename.tbz | |
# https: https://<user>:<password>@hostname/path/to/image/filename.tbz | |
# nfs: hostname:/path/to/image/filename.tgz | |
# | |
# for validation of the image, place the detached gpg-signature | |
# and your public key in the same directory as your image file. | |
# naming examples: | |
# signature: filename.tar.bz2.sig | |
# public key: public-key.asc | |
IMAGE /root/.oldroot/nfs/install/../images/CoreOS-1010-64-production.bin.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usage: installimage [options] | |
without any options, installimage starts in interactive mode. | |
possible options are: | |
-h display this help | |
-a automatic mode / batch mode - use this in combination | |
with the options below to install without further | |
interaction. there will be no further confirmations | |
for deleting disks / all your data, so use with care! | |
-c <configfile> use the specified config file in | |
/root/.oldroot/nfs/install/configs for autosetup. when using | |
this option, no other options except '-a' are accepted. | |
-x <post-install> Use this file as post-install script, that will be executed after | |
installation inside the chroot. | |
-n <hostname> set the specified hostNAME. | |
-b <lilo|grub> use either lilo or grub as BOOTLOADER. | |
-r <yes|no> activate software RAID or not. | |
-l <0|1|5|6|10> set the specified raid LEVEL. | |
-i <imagepath> use the specified IMAGE to install (full path to the OS image) | |
- supported image sources: local dir, ftp, http, nfs | |
- supported image types: tar,tar.gz,tar.bz,tar.bz2,tar.xz,tgz,tbz,txz | |
- supported binary image types: bin,bin.bz2 (CoreOS only) | |
examples: | |
- local: /path/to/image/filename.tar.gz | |
- ftp: ftp://<user>:<password>@hostname/path/to/image/filename.tar.bz2 | |
- http: http://<user>:<password>@hostname/path/to/image/filename.tbz | |
- https: https://<user>:<password>@hostname/path/to/image/filename.tbz | |
- nfs: hostname:/path/to/image/filename.tgz | |
-g Use this to force validation of the image file with detached GPG signature. | |
If the image is not valid, the installation will abort. | |
-p <partitions> define the PARTITIONS to create, example: | |
- regular partitions: swap:swap:4G,/:ext3:all | |
- lvm setup example: /boot:ext2:256M,lvm:vg0:all | |
-v <logical volumes> define the logical VOLUMES you want to be created | |
- example: vg0:root:/:ext3:20G,vg0:swap:swap:swap:4G | |
-d <drives> list of hardDRIVES to use, e.g.: sda or sda,sdb | |
-f <yes|no> FORMAT the second drive (if not used for raid)? | |
-s <de|en> Language to use for different things (e.g.PLESK) | |
-z PLESK_<Version> Install optional software like PLESK with version <Version> | |
-K <path/url> Install SSH-Keys from file/URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment