Commit ae02431bc9037502b4bd84995367a813a00b860d

Authored by Georg Hopp
1 parent be4c5c0c

change box handling and update boxes

1 1 {
2   - "name": "centos/7",
  2 + "name": "ghopp/centos7",
3 3 "description": "The latest centos/7 LXD image.",
4 4 "versions": [
5 5 {
6   - "version": "0.0.1",
  6 + "version": "0.0.2",
7 7 "providers": [
8 8 {
9 9 "name": "lxd",
10   - "url": "file:///home/hopp/projects/vagrant/test/centos_001_lxd.box",
  10 + "url": "https://github.com/georghopp/vagrant-lxd/raw/master/example_boxes/centos_002_lxd.box",
11 11 "checksum_type": "sha1",
12   - "checksum": "52c6717974bc76ecb9591e55d30baf90be9c68e4"
  12 + "checksum": "9b9e8e343c72b020ff21641bc18b6512df936047"
13 13 }
14 14 ]
15 15 }
... ...
No preview for this file type
No preview for this file type
1 1 {
2 2 "provider": "lxd",
  3 + "image": "centos/7",
3 4 "bootstrap": {
4 5 "hostname": {
5 6 "exec": [
... ...
1 1 {
2   - "name": "lxd/gentoo",
  2 + "name": "ghopp/gentoo",
3 3 "description": "The latest gentoo LXD image.",
4 4 "versions": [
5 5 {
6   - "version": "0.0.1",
  6 + "version": "0.0.2",
7 7 "providers": [
8 8 {
9 9 "name": "lxd",
10   - "url": "file:///home/hopp/projects/vagrant/vagrant-lxd/gentoo_001_lxd.box",
  10 + "url": "https://github.com/georghopp/vagrant-lxd/raw/master/example_boxes/gentoo_002_lxd.box",
11 11 "checksum_type": "sha1",
12   - "checksum": "279b73b0a0f51368376a89283c842c5b474f9274"
  12 + "checksum": "32b92c1c5121b13cedb051739066a1f098666b17"
13 13 }
14 14 ]
15 15 }
... ...
No preview for this file type
No preview for this file type
1 1 {
2 2 "provider": "lxd",
  3 + "image": "gentoo",
3 4 "bootstrap": {
4 5 "hostname": {
5 6 "exec": [
... ...
1 1 {
2   - "name": "debian/sid",
  2 + "name": "ghopp/sid",
3 3 "description": "The latest debian/sid LXD image.",
4 4 "versions": [
5 5 {
6   - "version": "0.0.1",
  6 + "version": "0.0.2",
7 7 "providers": [
8 8 {
9 9 "name": "lxd",
10   - "url": "file:///home/hopp/projects/vagrant/test/sid_001_lxd.box",
  10 + "url": "https://github.com/georghopp/vagrant-lxd/raw/master/example_boxes/sid_002_lxd.box",
11 11 "checksum_type": "sha1",
12   - "checksum": "21d7376327acdb7f36aa25ed89039248c6562415"
  12 + "checksum": "fc23c3fe375bd3383f076625f6904602482a9c34"
13 13 }
14 14 ]
15 15 }
... ...
No preview for this file type
No preview for this file type
1 1 {
2 2 "provider": "lxd",
  3 + "image": "debian/sid",
3 4 "bootstrap": {
4 5 "hostname": {
5 6 "exec": [
... ...
... ... @@ -90,7 +90,7 @@ module VagrantPlugins
90 90 end
91 91
92 92 def image
93   - @machine.box.name if @machine.box
  93 + @machine.box.metadata["image"] if @machine.box
94 94 end
95 95
96 96 def image?
... ...
Please register or login to post a comment