Re: curl vs wget to download stemcells


Wayne E. Seguin
 

What you want is the *hvm* ones if you are going for the full size stemcell
vs a reference to a pre-existing AMI

curl -sOL
https://bosh.io/d/stemcells/bosh-aws-xen-hvm-ubuntu-trusty-go_agent

Notice the -hvm- in the file name.


All that said, did I see somewhere that the full stemcells are being
depreciated in preference for the light stemcells on AWS? eg. Does that
mean that only light will be available/generated from some point forward?


On Thu, Apr 30, 2015 at 4:48 PM, Quintessence Anx <qanx(a)starkandwayne.com>
wrote:

I am experiencing something a bit unexpected when I try to download the
AWS stemcells with wget and curl.

I'm trying to download the latest version, so for curl I enter:

curl -L -J -O
https://bosh.io/d/stemcells/bosh-aws-xen-ubuntu-trusty-go_agent

For wget I enter:

wget --content-disposition --no-check-certificate
https://bosh.io/d/stemcells/bosh-aws-xen-ubuntu-trusty-go_agent

For curl I get a file named:
bosh-aws-xen-ubuntu-trusty-go_agent

For wget I get a file named:
light-bosh-stemcell-2950-aws-xen-ubuntu-trusty-go_agent.tgz

In both cases the file is about 6.2KB, so it looks like I am actually
getting the *light* stemcell both times, even though that's not the URL I'm
using.

Is this behavior expected? How would I use curl/wget to download the full
stemcell since there's no separate URL?

Thanks!

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.