Revamped README. Fixed more steps in pentest

This commit is contained in:
Anton Hvornum 2019-09-24 19:32:49 +02:00
parent cc7a4e883d
commit 2e01ecc181
2 changed files with 12 additions and 9 deletions

View File

@ -1,11 +1,9 @@
# archinstall # archinstall
Just a bare bone automated [Arch](https://wiki.archlinux.org/index.php/Arch_Linux) install with optional network deployment instructions based on MAC-address. Just a bare bone automated [Arch Linux](https://wiki.archlinux.org/index.php/Arch_Linux) installer *(with optional network deployment instructions based on MAC-address)*.
Pre-built ISO's can be found here: https://hvornum.se/archiso/ Pre-built ISO's can be found here which autostarts this installer: https://hvornum.se/archiso/
#archinstall@FreeNode :) # Install a basic minimalistic Arch Linux
# Install a basic Arch Linux
In a live-cd environment, do: In a live-cd environment, do:
# wget https://raw.githubusercontent.com/Torxed/archinstall/master/archinstall.py # wget https://raw.githubusercontent.com/Torxed/archinstall/master/archinstall.py
@ -19,12 +17,12 @@ Use `--drive=/dev/sdb` etc to change the desired destination, or skip `--default
# Features # Features
* Unattended install of Arch Linux * Unattended install of Arch Linux
* User guided install of Arch Linux (Like most other distros have) * User guided install of Arch Linux *(Like most other distros have)*
* YubiKey support for disk and root password (next release) * YubiKey support for disk and root password *(TBD / next release)*
* Profile / Template based installs * Profile / Template based installs
* Supports offline-installation of Arch Linux * Supports offline-installation of Arch Linux *(currently broken)*
* Full disk encryption, locale/region settings and customizable application selection * Full disk encryption, locale/region settings and customizable application selection
* Never creates post-install/service scripts (usually used to finalize databases etc) * Never creates or leave post-install/service scripts *(usually used to finalize databases etc)*
# Autorun on Arch Live CD (Unattended install) # Autorun on Arch Live CD (Unattended install)
@ -137,6 +135,10 @@ This will cause the script to look at `http://example.com/profiles/<profile>.jso
Deployment profile structs support all the above parameters and more, for instance, custom arguments with string formatting. Deployment profile structs support all the above parameters and more, for instance, custom arguments with string formatting.
See [deployments/workstation.json](https://github.com/Torxed/archinstall/blob/net-deploy/deployments/workstation.json) for examples. See [deployments/workstation.json](https://github.com/Torxed/archinstall/blob/net-deploy/deployments/workstation.json) for examples.
# Contact
IRC: `#archinstall@FreeNode`
## End note ## End note
![description](description.jpg) ![description](description.jpg)

View File

@ -33,6 +33,7 @@
"pacman -Syy" : null, "pacman -Syy" : null,
"sh strap.sh" : null, "sh strap.sh" : null,
"sh strap.sh" : {"debug" : true}, "sh strap.sh" : {"debug" : true},
"pacman -Syy --noconfirm {_pentest}" : {"pass-args" : true},
"touch /mnt/etc/openvpn/client/customer.conf" : {"no-chroot" : true}, "touch /mnt/etc/openvpn/client/customer.conf" : {"no-chroot" : true},
"sed -i 's/After=network.target/After=openvpn-client@customer.service\n&/' /mnt/usr/lib/systemd/system/sshd.service" : {"no-chroot" : true}, "sed -i 's/After=network.target/After=openvpn-client@customer.service\n&/' /mnt/usr/lib/systemd/system/sshd.service" : {"no-chroot" : true},
"sed -i 's/ExecStart=/ExecStartPre=\\/usr\\/bin\\/sleep 30\n&/' /mnt/usr/lib/systemd/system/sshd.service" : {"no-chroot" : true}, "sed -i 's/ExecStart=/ExecStartPre=\\/usr\\/bin\\/sleep 30\n&/' /mnt/usr/lib/systemd/system/sshd.service" : {"no-chroot" : true},