addsoftware:auto bash -c " yum install -y --skip-broken --installroot=/mnt/root $packages
cd /mnt/root
cd /mnt/root &&
maybe you need to add a '' after '&&'
Thanks, Luan Shengde
rm -rf srv/{*,.*} opt/{*,.*} mnt/{*,.*} media/{*,.*} home/{*,.*} lost+found/{*,.*} dev/{*,.*} proc/{*,.*} run/{*,.*} sys/{*,.*} > /dev/null 2>&1
" ) -- 2.23.0