File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ echo "Install LXD and initialize with ZFS storage-pool 'lxd' for backend"
3535sudo apt-get install -y lxd
3636sudo lxd init --auto --storage-backend zfs --storage-pool lxd
3737
38+ # flip the module parameters to enable user namespace mounts for fuse and/or ext4 within lxd containers
39+ echo Y | sudo tee /sys/module/fuse/parameters/userns_mounts
40+ echo Y | sudo tee /sys/module/ext4/parameters/userns_mounts
41+
3842sudo apt-get install -y python-pip
3943sudo pip install -U os-testr
4044sudo pip install -U pbr
@@ -90,7 +94,7 @@ initial-interval 1;
9094backoff-cutoff 2;
9195interface "enp0s3"
9296{
93- prepend domain-name-servers 192.168.27.100, 8.8.8.8, 8.8.4.4;
97+ prepend domain-name-servers 8.8.8.8, 8.8.4.4;
9498 request subnet-mask,
9599 broadcast-address,
96100 time-offset,
@@ -175,4 +179,5 @@ sudo update-rc.d devstack start 98 2 3 4 5 . stop 02 0 1 6 .
175179
176180cp /vagrant/scripts/stackinabox/admin-openrc.sh /home/vagrant
177181cp /vagrant/scripts/stackinabox/demo-openrc.sh /home/vagrant
182+ cp /vagrant/scripts/stackinabox/openrc /home/vagrant
178183exit 0
Original file line number Diff line number Diff line change 1010export OS_USERNAME=${OS_USERNAME:- demo}
1111export OS_TENANT_NAME=${OS_TENANT_NAME:- demo}
1212export OS_PASSWORD=labstack
13- export OS_NO_CACHE=1
1413export OS_REGION_NAME=${REGION_NAME:- RegionOne}
1514export HOST_IP=${HOST_IP:- 192.168.27.100}
16- export SERVICE_HOST=${SERVICE_HOST:- $HOST_IP }
1715export GLANCE_HOST=${GLANCE_HOST:- $HOST_IP }
16+ export SERVICE_HOST=${SERVICE_HOST:- $HOST_IP }
1817export SERVICE_PROTOCOL=${SERVICE_PROTOCOL:- http}
1918export KEYSTONE_AUTH_PROTOCOL=${KEYSTONE_AUTH_PROTOCOL:- $SERVICE_PROTOCOL }
2019export KEYSTONE_AUTH_HOST=${KEYSTONE_AUTH_HOST:- $SERVICE_HOST }
You can’t perform that action at this time.
0 commit comments