fixed base_files
This commit is contained in:
parent
572b6ccd6a
commit
2822cb946e
2 changed files with 3 additions and 24 deletions
|
@ -39,20 +39,10 @@ part / --fstype="ext4" --ondisk=sda --grow --size=5000
|
|||
# System timezone
|
||||
timezone America/Chicago --utc
|
||||
|
||||
#Root password
|
||||
# Add root ssh key to allow install script to run ansible
|
||||
rootpw --lock
|
||||
sshkey --username=root "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILG56T1k766Cru14kyXI8WXSJwlO2sVhmH6JeRWy+mfe root@host.actcur.com"
|
||||
user --groups=wheel --name=no --password=$6$pZnQonMmlKoyuv8c$E7THwTYjb4E65r0dRReXV/jKHuKXQSULhpf/DPyQJZkap5KPXKOAiaO2iVF2dHDxnYQDwqpysPnHQ6sh4AJBg0 --iscrypted --gecos="no"
|
||||
|
||||
%post
|
||||
#Add root ssh for completing build
|
||||
mkdir /root/.ssh/
|
||||
cat <<EOF >/root/.ssh/authorized_keys
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILG56T1k766Cru14kyXI8WXSJwlO2sVhmH6JeRWy+mfe root@host.actcur.com
|
||||
EOF
|
||||
# Reboot at end
|
||||
reboot
|
||||
|
||||
chmod 0700 /root/.ssh/
|
||||
chmod 0600 /root/.ssh/authorized_keys
|
||||
|
||||
restorecon -R /root/.ssh/
|
||||
%end
|
|
@ -75,17 +75,6 @@
|
|||
"kernels": [
|
||||
"linux"
|
||||
],
|
||||
"mirror_config": {
|
||||
"custom_mirrors": [
|
||||
{
|
||||
"name": "aur-local",
|
||||
"sign_check": "Never",
|
||||
"sign_option": "TrustAll",
|
||||
"url": "https://pkg.actcur.com/repo/archlinux/$repo/os/$arch"
|
||||
}
|
||||
],
|
||||
"mirror_regions": {}
|
||||
},
|
||||
"locale_config": {
|
||||
"kb_layout": "us",
|
||||
"sys_enc": "UTF-8",
|
Loading…
Add table
Reference in a new issue