Removed kickstart from Commented-Example.md
This commit is contained in:
parent
edbaaffa88
commit
4c183b3bd3
@ -86,57 +86,6 @@ this tells packer that it needs the `xenserver` plugin to run this script.
|
|||||||
* `sources = ["xenserver-iso.example"]` Build the `xenserver.example` without changing any configuration.
|
* `sources = ["xenserver-iso.example"]` Build the `xenserver.example` without changing any configuration.
|
||||||
|
|
||||||
## Explanation of ks-centos8-examples.cfg
|
## Explanation of ks-centos8-examples.cfg
|
||||||
```
|
|
||||||
eula --agreed
|
|
||||||
# agree to the eula of centos
|
|
||||||
|
|
||||||
lang en-US.UTF-8
|
The kickstart file is documentd via comments.
|
||||||
# set the system-locale to en-US.UTF-8
|
[ks-centos8-example.cfg](../../examples/http/centos/ks-centos8-example.cfg)
|
||||||
|
|
||||||
timezone Europe/Berlin
|
|
||||||
# set the timezone to Europe/Berlin
|
|
||||||
|
|
||||||
url --url="http://mirror.centos.org/centos/8.3.2011/BaseOS/x86_64/os/"
|
|
||||||
# Primary installation mirror
|
|
||||||
|
|
||||||
text
|
|
||||||
skipx
|
|
||||||
# Install in textmode, do not configure X11
|
|
||||||
|
|
||||||
firstboot --disable
|
|
||||||
# Dont do any configuration on first boot
|
|
||||||
|
|
||||||
rootpw --plaintext centos
|
|
||||||
# set the reboot to "centos"
|
|
||||||
|
|
||||||
firewall --enabled --ssh
|
|
||||||
# enable the firewall, allow ssh
|
|
||||||
|
|
||||||
selinux --enforcing
|
|
||||||
# ensure selinux is in enforcing mode
|
|
||||||
|
|
||||||
logging --level=info
|
|
||||||
# Installation logging level
|
|
||||||
|
|
||||||
network --bootproto=dhcp --device=eth0 --onboot=on
|
|
||||||
# configure the network with dhcp on install
|
|
||||||
|
|
||||||
clearpart --all
|
|
||||||
zerombr
|
|
||||||
bootloader --location=mbr
|
|
||||||
# Clear all partitioning on all disk
|
|
||||||
# Zero the MBR section
|
|
||||||
# Install the bootloader into the MBR
|
|
||||||
|
|
||||||
part / --asprimary --fstype="ext4" --size=1024 --grow
|
|
||||||
# / shall the a primary partition with ext4
|
|
||||||
# with a mimimul size of 1024 MB, but growing to the actual size of the disk
|
|
||||||
|
|
||||||
%packages
|
|
||||||
@base
|
|
||||||
%end
|
|
||||||
# install all packages of the core group
|
|
||||||
|
|
||||||
reboot --eject
|
|
||||||
# After finishing eject all CD-Disk and reboot
|
|
||||||
```
|
|
||||||
|
Loading…
Reference in New Issue
Block a user