Sign up ×  I'm trying to make api calls during an ubuntu install
using curl, but it always returns the error code 127 which means
the command does not exist, this is what it looks like:  d-i
preseed/early_command string apt-get install curl d-i
preseed/early_command string curl -k http://myapi/get_api  Is
there a way I can do this for both early and late command?
share|improve this question  1 Answer 1  up vote 1 down vote
accepted  Are you sure the volume is mounted at this point? This
answer seems very relevant to your problem:  The takeaway seems
to be that you can use apt-get in the late stage, but not early.
share|improve this answer But you can use apt-install -- – 
sendmoreinfo Jan 11 '13 at 19:04 True, I ended up using wget
instead and installing packages after when needed. –  Ping
Pengũin Jan 23 '13 at 23:35  Your Answer