Update
This commit is contained in:
+1
-4
@@ -73,7 +73,7 @@ chroot /mnt systemctl enable systemd-networkd
|
||||
chroot /mnt systemctl enable nftables
|
||||
|
||||
git clone https://codex.r10x.net/sysadmin/fedora /mnt/root/codex.r10x.net/sysadmin/fedora
|
||||
rsync --recursive /mnt/root/codex.r10x.net/sysadmin/fedora/ /mnt/
|
||||
rsync --recursive --force /mnt/root/codex.r10x.net/sysadmin/fedora/base/ /mnt/
|
||||
|
||||
setenforce 0
|
||||
echo 'root:123' | chpasswd --root /mnt
|
||||
@@ -94,9 +94,6 @@ touch /mnt/root/.ssh/authorized_keys
|
||||
chmod 0700 /mnt/root/.ssh
|
||||
chmod 0600 /mnt/root/.ssh/authorized_keys
|
||||
|
||||
sed -i -r 's/^.*history-search-backward.*/"\\e[A": history-search-backward/g' /mnt/etc/inputrc
|
||||
sed -i -r 's/^.*history-search-forward.*/"\\e[B": history-search-forward/g' /mnt/etc/inputrc
|
||||
|
||||
umount /mnt/run
|
||||
umount /mnt/dev
|
||||
umount /mnt/sys
|
||||
|
||||
Reference in New Issue
Block a user