From 64649f8f1dfe35dc1cbcae5594ed7e8f808cd61b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 18 Jan 2014 11:05:29 -0800 Subject: [PATCH] guests/coreos: restart etcd after configuring networks [GH-2852] --- CHANGELOG.md | 1 + plugins/guests/coreos/cap/configure_networks.rb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ade4527f5..b13b93b51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,7 @@ BUG FIXES: - commands/plugin: Plugin installation will fail if dependencies conflict, rather than at runtime. - commands/ssh: When using `-c` on Windows, no more TTY errors. + - guests/coreos: Restart etcd after configuring networks. [GH-2852] - guests/redhat: Set hostname to FQDN, per the documentation for RedHat. [GH-2792] - hosts/bsd: Don't invoke shell for NFS sudo calls. [GH-2808] diff --git a/plugins/guests/coreos/cap/configure_networks.rb b/plugins/guests/coreos/cap/configure_networks.rb index 5a8f52561..c9bf5e5ad 100644 --- a/plugins/guests/coreos/cap/configure_networks.rb +++ b/plugins/guests/coreos/cap/configure_networks.rb @@ -63,8 +63,10 @@ module VagrantPlugins comm.sudo("mv /tmp/etcd-cluster.service /media/state/units/") comm.sudo("systemctl restart local-enable.service") - end + # Restart default etcd + comm.sudo("systemctl start etcd") + end end end end