When running MAAS in a snap environment, what is the port serving the http, where are the boot image located.

I’m trying to bootstrap the networking device via ONIE. One of the option for ONIE to look for NOS image is the default-url DHCP option.

DHCP Snippet added to MAAS.

option default-url “”;

I’m able to successfully serve image to ONIE, when I install the MAAS natively in the machine.

I’m not able todo the same when MASS is running in SNAP. I assume the same ports are used in case of SNAP as well.

I have placed my NOS installer image

I’m use the same default-url to fetch.

I’m trying locally using wget to access the file and I receive a 404 error.
$ wget
Connecting to… connected.
HTTP request sent, awaiting response… 404 Not Found
2019-10-25 18:27:37 ERROR 404: Not Found.

Any help would be appreciated.

I’m able to get it working using the following url.
option default-url “”;