mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fixed Vagrantfile to use systemd script
Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
parent
4b5fff4eda
commit
04126b850a
1 changed files with 1 additions and 1 deletions
2
libnetwork/Vagrantfile
vendored
2
libnetwork/Vagrantfile
vendored
|
@ -20,7 +20,7 @@ apt-get -y install bridge-utils
|
|||
wget -qO- https://experimental.docker.com/ | sh
|
||||
gpasswd -a vagrant docker
|
||||
echo DOCKER_OPTS=\\"--cluster-store=consul://192.168.33.10:8500 --cluster-advertise=${1}:0\\" >> /etc/default/docker
|
||||
cp /vagrant/vagrant-systemd/docker.service /etc/systemd/system/
|
||||
cp /vagrant/docs/vagrant-systemd/docker.service /etc/systemd/system/
|
||||
systemctl daemon-reload
|
||||
systemctl restart docker.service
|
||||
SCRIPT
|
||||
|
|
Loading…
Reference in a new issue