Changeset View
Changeset View
Standalone View
Standalone View
doc/gitian-building.md
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
project](https://github.com/boxcutter/ubuntu). (Note: Canonical provides a | project](https://github.com/boxcutter/ubuntu). (Note: Canonical provides a | ||||
vagrant box, however its disk space is insufficient for this guide.) | vagrant box, however its disk space is insufficient for this guide.) | ||||
```bash | ```bash | ||||
pushd | pushd | ||||
cd /tmp/ | cd /tmp/ | ||||
git clone https://github.com/boxcutter/ubuntu.git | git clone https://github.com/boxcutter/ubuntu.git | ||||
cd ubuntu | cd ubuntu | ||||
git checkout 2e7a0d5631dadf7576c7c4d2f52856317031653b | git checkout 1e1f4804315b27eba398de93b8024230d190443a | ||||
packer build -var-file=ubuntu1604.json -only=virtualbox-iso ubuntu.json | packer build -var-file=ubuntu1604.json -only=virtualbox-iso ubuntu.json | ||||
vagrant box add --name abc-xenial box/virtualbox/ubuntu1604-0.1.0.box | vagrant box add --name abc-xenial box/virtualbox/ubuntu1604-0.1.0.box | ||||
popd | popd | ||||
``` | ``` | ||||
After completion you should be able to run add the box to vagrant as "abc-xenial" | After completion you should be able to run add the box to vagrant as "abc-xenial" | ||||
using `vagrant box add --name abc-xenial <path_to_packer_output.box>` | using `vagrant box add --name abc-xenial <path_to_packer_output.box>` | ||||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |