mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 05:05:17 +00:00
just-a-test-for-gitea-ssh
This commit is contained in:
parent
a2f96c3c49
commit
a2e2088750
@ -6,20 +6,20 @@
|
||||
# /_/ /____/
|
||||
|
||||
# WHAT ? Kickstart file that bootstraps a minimal fedora 34 server, vanilla.
|
||||
# 'v' for virtual, 's' for server, 'u' for unmodified (aka vanilla), 'b' for bios, 'd' for development.
|
||||
# 'v' for virtual, 's' for server, 'u' for unmodified (aka vanilla), 'b' for bios, 'd' for development.
|
||||
|
||||
# USAGE : Press the `tab` key during POST and apend that after the 'quiet' string :
|
||||
# USAGE : Press the `tab` key during POST and apend that after the 'quiet' string :
|
||||
# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/vsub.cfg
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents.
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents.
|
||||
# Bye bye!
|
||||
|
||||
# ATTENTION : user accounts are password-protected and passwords are encrypted in the file.
|
||||
# ATTENTION : user accounts are password-protected and passwords are encrypted in the file.
|
||||
# If you really want to hack it, you can reset the root password of the resulting image with the 'virt-sysprep' tool
|
||||
# Do something like virt-sysprep --root-password password: -a thenameofyourdiskimage.img.
|
||||
# Do something like virt-sysprep --root-password password: -a thenameofyourdiskimage.img.
|
||||
# Your password must be added after the semicolon ":". See here for more information : https://libguestfs.org/virt-sysprep.1.html
|
||||
|
||||
# REQUIRES :
|
||||
# REQUIRES :
|
||||
# - Requires a 3GB disk image (tested with QCOW2, may works with most virtio-based storage)
|
||||
# - Expects a BIOS-based virtual machine (no-EFI support). There will be a kickstart file for that (tm)
|
||||
# - Tested on the Q35 virtual chipset (5.2), but may works on i440fx virtual chipsets.
|
||||
@ -36,6 +36,7 @@
|
||||
#version=DEVEL
|
||||
|
||||
## INSTALLATION SOURCE ##
|
||||
## TEST ##
|
||||
|
||||
# Configure cdrom as installation method
|
||||
cdrom
|
||||
@ -57,7 +58,7 @@ graphical
|
||||
url --mirrorlist="https://mirrors.fedoraproject.org/metalink?repo=fedora-34&arch=x86_64"
|
||||
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f34&arch=x86_64" --cost=0
|
||||
|
||||
# Add rpmfusion repositories, which provides extra-packages
|
||||
# Add rpmfusion repositories, which provides extra-packages
|
||||
repo --name=rpmfusion-free --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-34&arch=x86_64" --includepkgs=rpmfusion-free-release
|
||||
repo --name=rpmfusion-free-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-34&arch=x86_64" --cost=0
|
||||
|
||||
@ -107,20 +108,20 @@ ignoredisk --only-use=vda
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr
|
||||
|
||||
# WARNING : Dangerous command ! Will clear the Master Boot Record
|
||||
# WARNING : Dangerous command ! Will clear the Master Boot Record
|
||||
zerombr
|
||||
|
||||
# Partition clearing information
|
||||
clearpart --all --initlabel --drives=vda
|
||||
|
||||
# Disk partitioning information.
|
||||
# Will create a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root.
|
||||
# Disk partitioning information.
|
||||
# Will create a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root.
|
||||
part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot
|
||||
part / --fstype="ext4" --ondisk=vda --grow --label=system
|
||||
|
||||
## SOFTWARE ##
|
||||
|
||||
# Install packages for the server environment. 'Core' and 'Base' are always selected
|
||||
# Install packages for the server environment. 'Core' and 'Base' are always selected
|
||||
%packages
|
||||
@^server-product-environment
|
||||
%end
|
||||
@ -145,7 +146,7 @@ dnf install -y spice-vdagent qemu-guest-agent
|
||||
# set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds.
|
||||
sed -i 's/5/1/' /etc/default/grub
|
||||
|
||||
# Update grub
|
||||
# Update grub
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
## Reboot the installer (doesn't work (tm))
|
||||
|
Loading…
Reference in New Issue
Block a user