Skip to content

Commit

Permalink
Merge pull request #1114 from marquiz/devel/e2e-install-fix
Browse files Browse the repository at this point in the history
e2e: create empty fallback config before installing the package
  • Loading branch information
klihub authored Sep 6, 2024
2 parents d3cae20 + b652f09 commit 7d9fca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/lib/vm.bash
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ vm-install-cri-resmgr() {
elif [[ "$pkg_count" -gt 1 ]]; then
error "installing from $binsrc failed: expected exactly one cri-resource-manager*.$suf in $HOST_PROJECT_DIR/$binsrc, found $pkg_count alternatives."
fi
vm-command "mkdir -p /etc/cri-resmgr && touch /etc/cri-resmgr/fallback.cfg"
host-command "$SCP $HOST_PROJECT_DIR/$binsrc/*.$suf $VM_SSH_USER@$VM_IP:/tmp" || {
command-error "copying *.$suf to vm failed, run \"make cross-$suf\" first"
}
Expand Down

0 comments on commit 7d9fca2

Please sign in to comment.