@@ -48,7 +48,7 @@ def install_packages():
4848 packages = ["linux-lts-headers" , "pacman-contrib" , "base-devel" , "dmidecode" ,
4949 "dkms" , "amd-ucode" , "linux-firmware" , "lm_sensors" , "curl" ,
5050 "e2fsprogs" , "exfatprogs" , "iproute2" , "mtr" , "lsof" , "smartmontools" ,
51- "udisks2" , "dosfstools" , "less" , "wget" ],
51+ "udisks2" , "dosfstools" , "less" , "wget" , "inetutils" ],
5252 present = True ,
5353 update = False ,
5454 _sudo = True ,
@@ -224,11 +224,17 @@ def deployment_cleanup():
224224 _sudo = True
225225 )
226226
227+ server .shell (
228+ name = "Removing `paru-src` leftovers" ,
229+ commands = [f"rm /home/{ host .get_fact (User )} /paru -r" ],
230+ _sudo = True
231+ )
232+
227233 server .shell (
228234 name = "Adding hostname & IP to login screen" ,
229235 commands = [
230236 "echo '===SERVER INFORMATION===' >> /etc/issue" ,
231- 'printf "Hostname: \\ cdx" >> /etc/issue' ,
237+ 'printf "Hostname: \\ cdx" >> /etc/issue' , # PyInfra changes \\n to \n (newline), this is a bypass which will be fix with `sed`
232238 "echo -e '\n IPv4: \\ 4\n ' >> /etc/issue" ,
233239 "sed -i 's/cdx/n/' /etc/issue"
234240 ],
0 commit comments