Fixed dhcp flag issue as well as ssh public key issue for arch #5
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ echo "#cloud-config
|
||||||
sed -i "s/REPLACE_SIZE/${rs}/g" /tmp/user_configuration.json
|
sed -i "s/REPLACE_SIZE/${rs}/g" /tmp/user_configuration.json
|
||||||
|
|
||||||
ssh-keygen -R ${lname}.actcur.com
|
ssh-keygen -R ${lname}.actcur.com
|
||||||
ssh-keyscan ${lname}.actcur.com | grep -v "#" | grep "ecdsa-sha2-nistp256" >> ~/.ssh/known_hosts
|
ssh-keyscan ${lname}.actcur.com | grep -v "#" | grep "ssh-ed25519 " >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
scp -i $ssh_key_dir/id_arch_builder /tmp/user_configuration.json ${lname}.actcur.com:/tmp/user_configuration.json
|
scp -i $ssh_key_dir/id_arch_builder /tmp/user_configuration.json ${lname}.actcur.com:/tmp/user_configuration.json
|
||||||
ssh -i $ssh_key_dir/id_arch_builder ${lname}.actcur.com "systemctl mask reflector.service; echo 'Server = https://pkg.actcur.com/repo/archlinux/\$repo/os/\$arch' > /etc/pacman.d/mirrorlist"
|
ssh -i $ssh_key_dir/id_arch_builder ${lname}.actcur.com "systemctl mask reflector.service; echo 'Server = https://pkg.actcur.com/repo/archlinux/\$repo/os/\$arch' > /etc/pacman.d/mirrorlist"
|
||||||
|
|
Loading…
Add table
Reference in a new issue