https://github.com/pepabo/ubuntu-openstack-builder
UbuntuでOpenStackパッケージを自前ビルドするやつ
https://github.com/pepabo/ubuntu-openstack-builder
Last synced: 2 months ago
JSON representation
UbuntuでOpenStackパッケージを自前ビルドするやつ
- Host: GitHub
- URL: https://github.com/pepabo/ubuntu-openstack-builder
- Owner: pepabo
- License: mit
- Created: 2017-08-03T09:45:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-06T09:16:53.000Z (over 7 years ago)
- Last Synced: 2025-01-26T18:17:31.675Z (4 months ago)
- Language: Makefile
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ubuntu-openstack-builder
UbuntuでOpenStackパッケージを自前ビルドするやつ## neutronパッケージをビルドする場合の注意
neutronパッケージのテストにIPv6関連が含まれているため、DockerエンジンでIPv6を有効にしないとテストが通らない。
DockerでIPv6を使うには以下を参考。[IPv6 with Docker](https://docs.docker.com/engine/userguide/networking/default_network/ipv6/)
### Ubuntu 16.06
```
$ sudo systemctl edit --full docker
-- -- snip -- --
[Service]
Type=notify
# the default is not to use systemd for cgroups because the delegate issues still
# exists and systemd currently does not support the cgroup feature set required
# for containers run by docker
ExecStart=/usr/bin/dockerd -H fd:// --ipv6 --fixed-cidr-v6="2001:db8:1::/64" ★ --ipv6以降を追加
ExecReload=/bin/kill -s HUP $MAINPID
-- -- snip -- --
$ sudo systemctl restart docker
```### Docker for Mac
Preference => Daemon => Advanced を編集し、 `ipv6` と `fixed-cidr-v6` を設定します。
```json
{
"debug" : true,
"experimental" : true,
"ipv6": true,
"fixed-cidr-v6" : "2001:db8:1::/64"
}
```## build
```
$ make neutron
```If you set environemnt value, you write to .env file.
```
$ cat .env
DEB_BUILD_OPTIONS=nocheck
```