mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
installer: no default .cfg but therefore two examples that can be used as template
This commit is contained in:
parent
2c4152218a
commit
3e0b35e3e6
@ -2,7 +2,7 @@
|
||||
_pkgname=installer
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.1.6
|
||||
pkgver=0.1.7
|
||||
pkgrel=1
|
||||
pkgdesc="Bash script to install Arch Linux"
|
||||
arch=('any')
|
||||
@ -22,5 +22,6 @@ package() {
|
||||
install -Dm0644 lib/user-input.sh "$pkgdir"/usr/lib/"${pkgname}"/user-input.sh
|
||||
install -Dm0644 lib/util.sh "$pkgdir"/usr/lib/"${pkgname}"/util.sh
|
||||
|
||||
install -Dm0644 -o0 installer.cfg "$pkgdir"/etc/"${pkgname}"/installer.cfg
|
||||
install -Dm0644 -o0 example-vbox.cfg "$pkgdir"/etc/"${pkgname}"/example-vbox.cfg
|
||||
install -Dm0644 -o0 example-headless-docker.cfg "$pkgdir"/etc/"${pkgname}"/example-headless-docker.cfg
|
||||
}
|
||||
|
@ -25,7 +25,8 @@ ls out/out_dir/*.iso
|
||||
4) Connect to target computer via `ssh`
|
||||
* See [build-iso/out/out_dir/ssh-host-fingerprints](../../build-iso/out/out_dir/ssh-host-fingerprints)
|
||||
for verification of the ssh fingerprint of the target computer
|
||||
5) Adjust `/etc/de-p1st-installer/installer.cfg` (or delete it for interactive mode)
|
||||
5) Copy and adjust one of the example configurations (`/etc/de-p1st-installer/*.cfg`) to `/etc/de-p1st-installer/installer.cfg`
|
||||
* This step is optional. If skipped, then (most) of this can be entered interactively
|
||||
6) Run the installer:
|
||||
|
||||
```shell
|
||||
|
28
pkg/de-p1st-installer/example-headless-docker.cfg
Normal file
28
pkg/de-p1st-installer/example-headless-docker.cfg
Normal file
@ -0,0 +1,28 @@
|
||||
# Example config for a headless root server running docker
|
||||
|
||||
FQDN=v2202012136854137045.happysrv.de
|
||||
STATIC_IP=45.83.105.88
|
||||
IPV6_CAPABLE=1
|
||||
HOSTNAME=p1st-arch-1
|
||||
USERNAME=yoda
|
||||
|
||||
TARGET_BLOCK_DEVICE=/dev/sda
|
||||
BOOT_PART_SIZE=500 # MiB
|
||||
FS=BTRFS
|
||||
FS_CHOSEN_MOUNT_OPTIONS=('noatime')
|
||||
|
||||
CPU_VENDOR=none
|
||||
BIOS_TYPE=uefi
|
||||
|
||||
# If set to "1", then the data, boot and luks partitions
|
||||
# will be left mounted/opened after installation
|
||||
LEAVE_MOUNTED=0
|
||||
|
||||
PACSTRAP_INTERACTIVE=1
|
||||
|
||||
# to skip pacman selections
|
||||
ADDITIONAL_PKGS=('mkinitcpio' 'de-p1st-kernel-lts' 'de-p1st-ucode-placeholder' 'qemu-guest-agent')
|
||||
# remote ssh access
|
||||
ADDITIONAL_PKGS=('de-p1st-ssh' 'de-p1st-ssh-key-yoda')
|
||||
# docker and docker-compose
|
||||
ADDITIONAL_PKGS=('docker' 'docker-compose')
|
@ -1,4 +1,4 @@
|
||||
# Example config (for test in virtual machine)
|
||||
# Example config for testing in VirtualBox
|
||||
|
||||
# FQDN=domain.name.of.this.host.de
|
||||
# STATIC_IP=123.456.789.012
|
Loading…
Reference in New Issue
Block a user