Skip to content

Commit

Permalink
kiss-vm: run 'taskfetch.sh --install-deps' in real background
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhong Yin <[email protected]>
  • Loading branch information
tcler committed Sep 21, 2023
1 parent c7cb9d8 commit 75da826
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kiss-vm
Original file line number Diff line number Diff line change
Expand Up @@ -3610,7 +3610,7 @@ if [[ "$InstallType" = location ]]; then
echo "[\$USER@\${HOSTNAME} \${HOME} \$(pwd)] getting taskfetch tools and brew-install $BPKGS ..."
(cd /usr/bin && curl -k -Ls --remote-name-all $bkrClientImprovedUrl/utils/{brewinstall.sh,taskfetch.sh} && chmod +x brewinstall.sh taskfetch.sh)
taskfetch.sh --install-deps & brewinstall.sh $(for b in $BPKGS; do echo -n "'$b' "; done) -noreboot
nohup taskfetch.sh --install-deps &>/dev/null & brewinstall.sh $(for b in $BPKGS; do echo -n "'$b' "; done) -noreboot
echo "[\$USER@\${HOSTNAME} \${HOME} \$(pwd)] systemctl start restraintd ..."
yum --setopt=strict=0 install -y restraint-rhts beakerlib && systemctl start restraintd
Expand Down
2 changes: 1 addition & 1 deletion utils/cloud-init-iso-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ if [[ $Intranet = yes ]]; then
cat <<IntranetCMD
- (cd /etc/pki/ca-trust/source/anchors && curl -Ls --remote-name-all https://certs.corp.redhat.com/{2022-IT-Root-CA.pem,2015-IT-Root-CA.pem,ipa.crt} && update-ca-trust)
- command -v yum && (cd /usr/bin && curl -L -k -m 30 --remote-name-all $bkrClientImprovedUrl/utils/{brewinstall.sh,taskfetch.sh} && chmod +x brewinstall.sh taskfetch.sh) &&
{ taskfetch.sh --install-deps & brewinstall.sh $(for b in $BPKGS; do echo -n "'$b' "; done) -noreboot; }
{ nohup taskfetch.sh --install-deps &>/dev/null & brewinstall.sh $(for b in $BPKGS; do echo -n "'$b' "; done) -noreboot; }
- _rpath=share/restraint/plugins/task_run.d
- command -v yum && { yum --setopt=strict=0 install -y restraint-rhts beakerlib && systemctl start restraintd;
Expand Down

0 comments on commit 75da826

Please sign in to comment.