# 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": [] } }
# yakkety done and Bigstep datasource detected
csmith@ fringe: ~/src/sru$ echo $ref fringe: ~/src/sru$ echo $name fringe: ~/src/sru$ name=yp1 fringe: ~/src/sru$ lxc init $ref $name fringe: ~/src/sru$ echo -n http:// $hostaddr: 9999/bigstep. json | lib/cloud/ data/seed/ bigstep/ url fringe: ~/src/sru$ echo 'datasource_list: [Bigstep, OpenStack, None]' | cloud/cloud. cfg.d/99- bigstep. cfg fringe: ~/src/sru$ lxc start $name fringe: ~/src/sru$ sleep 10
yakkety-proposed
csmith@
xp1
csmith@
csmith@
Creating yp1
csmith@
> lxc file push -p - $name/var/
csmith@
> lxc file push -p - $name/etc/
csmith@
slecsmith@
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 - tep",
{
"v1": {
"datasource": "DataSourceBigs
"errors": []
}
}