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?