diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-10-19 21:00:55 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-11-21 21:09:33 +0800 |
commit | da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea (patch) | |
tree | fb9cca2507788d43e79113a42d9abc3e221e6378 /cmd/puppeth/wizard_faucet.go | |
parent | 7b258c96816df56e642df7e314e8052213af70fa (diff) | |
download | dexon-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar dexon-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.gz dexon-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.bz2 dexon-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.lz dexon-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.xz dexon-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.zst dexon-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.zip |
cmd/puppeth: support deploying services with forced rebuilds
Diffstat (limited to 'cmd/puppeth/wizard_faucet.go')
-rw-r--r-- | cmd/puppeth/wizard_faucet.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/puppeth/wizard_faucet.go b/cmd/puppeth/wizard_faucet.go index 08e471ef8..e9d5c6016 100644 --- a/cmd/puppeth/wizard_faucet.go +++ b/cmd/puppeth/wizard_faucet.go @@ -190,7 +190,11 @@ func (w *wizard) deployFaucet() { } } // Try to deploy the faucet server on the host - if out, err := deployFaucet(client, w.network, w.conf.bootLight, infos); err != nil { + fmt.Println() + fmt.Printf("Should the faucet be built from scratch (y/n)? (default = no)\n") + nocache := w.readDefaultString("n") != "n" + + if out, err := deployFaucet(client, w.network, w.conf.bootLight, infos, nocache); err != nil { log.Error("Failed to deploy faucet container", "err", err) if len(out) > 0 { fmt.Printf("%s\n", out) |