Errors importing custom image

I found some old guide online with instruction like this:

maas hk-69 boot-sources create -d name=custom/ubuntu-14.04-5 architecture=amd64/generic filetype=tgz content@=/tmp/ubuntu-14.04-server-cloudimg-amd64.tar.gz

but I here is what I got:

400 Bad Request

Content-Length: 111
Content-Type: application/json; charset=utf-8
Date: Tue, 04 Dec 2018 08:48:18 GMT
Server: TwistedWeb/17.9.0
Status: 400
Vary: Cookie
X-Frame-Options: SAMEORIGIN

{“url”: [“This field is required.”], “all”: [“One of keyring_data or keyring_filename must be specified.”]}

Seems like import custom image is no longer support?
Can’t find any doc, How could we solve issue like missing driver?

You are using the wrong endpoint. You need boot-resources, but you are using boot-sources

:sweat_smile:my bad

however after I fix the endpoint, I still get Too much data recieved. error

Do you have output of the command, logs from MAAS for us to see? Also, how large is your image?

I’ll try to get the log, it’s just a standard size of ubuntu image.

“Too much data recieved” is the only output I got.