Comment 7 for bug 1674766

Revision history for this message
Chad Smith (chad.smith) wrote :

# yakkety done and Bigstep datasource detected

csmith@fringe:~/src/sru$ echo $ref
yakkety-proposed
csmith@fringe:~/src/sru$ echo $name
xp1
csmith@fringe:~/src/sru$ name=yp1
csmith@fringe:~/src/sru$ lxc init $ref $name
Creating yp1
csmith@fringe:~/src/sru$ echo -n http://$hostaddr:9999/bigstep.json |
> lxc file push -p - $name/var/lib/cloud/data/seed/bigstep/url
csmith@fringe:~/src/sru$ echo 'datasource_list: [Bigstep, OpenStack, None]' |
> lxc file push -p - $name/etc/cloud/cloud.cfg.d/99-bigstep.cfg
csmith@fringe:~/src/sru$ lxc start $name
slecsmith@fringe:~/src/sru$ sleep 10
10.249.77.36 - - [20/Apr/2017 10:25:37] "GET /bigstep.json HTTP/1.1" 200 -

csmith@fringe:~/src/sru$ lxc file pull $name/run/cloud-init/result.json -
{
 "v1": {
  "datasource": "DataSourceBigstep",
  "errors": []
 }
}