File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
pkg/cidata/cidata.TEMPLATE.d/boot Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3
3
# Hint: run `limactl prune` to invalidate the "Current" cache
4
4
- location : https://download.opensuse.org/tumbleweed/appliances/openSUSE-Tumbleweed-JeOS.x86_64-OpenStack-Cloud.qcow2
5
5
arch : " x86_64"
6
- # No aarch64 OpenStack build found :(
6
+ - location : http://download.opensuse.org/ports/aarch64/tumbleweed/appliances/openSUSE-Tumbleweed-ARM-JeOS-efi.aarch64.qcow2
7
+ arch : " aarch64"
7
8
mounts :
8
9
- location : " ~"
9
10
- location : " /tmp/lima"
Original file line number Diff line number Diff line change @@ -23,7 +23,12 @@ if [ "${LIMA_CIDATA_UDP_DNS_LOCAL_PORT}" -ne 0 ] || [ "${LIMA_CIDATA_TCP_DNS_LOC
23
23
fi
24
24
25
25
# Install minimum dependencies
26
- if command -v apt-get > /dev/null 2>&1 ; then
26
+ # apt-get detected through the first bytes of apt-get binary to ensure we're
27
+ # matching to an actual binary and not a wrapper script. This case is an issue
28
+ # on OpenSuse which wraps its own package manager in to a script named apt-get
29
+ # to mimic certain options but doesn't offer full parameters compatibility
30
+ # See : https://github.com/lima-vm/lima/pull/1014
31
+ if hexdump -C -n 4 " $( command -v apt-get) " | grep -qF ' ELF' > /dev/null 2>&1 ; then
27
32
pkgs=" "
28
33
if [ " ${LIMA_CIDATA_MOUNTTYPE} " = " reverse-sshfs" ]; then
29
34
if [ " ${LIMA_CIDATA_MOUNTS} " -gt 0 ] && ! command -v sshfs > /dev/null 2>&1 ; then
You can’t perform that action at this time.
0 commit comments