File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4545 - name : Download images and patch VM configs
4646 run : |
4747 echo "Downloading guest images and patching VM config files..."
48- mkdir -p images
48+ mkdir -p /tmp/ images
4949 IFS=',' read -ra CONFIGS <<< "${{ matrix.vmconfigs }}"
5050 IFS=',' read -ra IMAGES <<< "${{ matrix.vmimage_name }}"
5151 for i in "${!CONFIGS[@]}"; do
5656 img_name="${img%.tar.gz}"
5757
5858 echo "Downloading $img and patching $config..."
59- wget -P . /images https://github.com/arceos-hypervisor/axvisor-guest/releases/latest/download/$img
60- tar -xzf ./ images/$img -C . /images
61- sed -i 's|^kernel_path[[:space:]]*=.*|kernel_path = ". /images/'"$img_name"'"|' "$config"
59+ wget -P /tmp /images https://github.com/arceos-hypervisor/axvisor-guest/releases/latest/download/$img
60+ tar -xzf /tmp/ images/$img -C /tmp /images
61+ sed -i 's|^kernel_path[[:space:]]*=.*|kernel_path = "/tmp /images/'"$img_name"'"|' "$config"
6262 echo "Updated kernel_path in $config"
6363 done
6464
You can’t perform that action at this time.
0 commit comments