You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to install linsk on my macbook (M1 chip, macos 15.0.1), setting up the VM with ./linsk build fails due to this error: bad address mirrors.alpinelinux.org. This is because the nameserver 10.0.2.3 that I guess udhcp sets up does not work.
To fix this, I changed this line in imgbuilder.go:
cmd := "ifconfig eth0 up && ifconfig lo up && udhcpc && true > /etc/apk/repositories && setup-apkrepos ...
to override the nameserver like so:
cmd := "ifconfig eth0 up && ifconfig lo up && udhcpc && echo 'nameserver 8.8.8.8' > /etc/resolv.conf && true > /etc/apk/repositories && setup-apkrepos ...
Maybe there is a better way to do this, but I can confirm linsk works on my system after making this change.
The text was updated successfully, but these errors were encountered:
When trying to install linsk on my macbook (M1 chip, macos 15.0.1), setting up the VM with
./linsk build
fails due to this error:bad address mirrors.alpinelinux.org
. This is because the nameserver10.0.2.3
that I guess udhcp sets up does not work.To fix this, I changed this line in imgbuilder.go:
cmd := "ifconfig eth0 up && ifconfig lo up && udhcpc && true > /etc/apk/repositories && setup-apkrepos ...
to override the nameserver like so:
cmd := "ifconfig eth0 up && ifconfig lo up && udhcpc && echo 'nameserver 8.8.8.8' > /etc/resolv.conf && true > /etc/apk/repositories && setup-apkrepos ...
Maybe there is a better way to do this, but I can confirm linsk works on my system after making this change.
The text was updated successfully, but these errors were encountered: