You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
`boot2docker upgrade` will support the Docker client binary,
boot2docker-cli binary, and boot2docker ISO now.
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
flags.StringVar(&B2D.ISOURL, "iso-url", "https://api.github.com/repos/boot2docker/boot2docker/releases", "source URL to provision the boot2docker ISO image.")
95
95
flags.StringVar(&B2D.ISO, "iso", filepath.Join(dir, "boot2docker.iso"), "path to boot2docker ISO image.")
96
+
ifruntime.GOOS=="darwin" {
97
+
// clobber by default
98
+
flags.BoolVar(&B2D.Clobber, "clobber", true, "overwrite Docker client binary on boot2docker upgrade")
99
+
} else {
100
+
flags.BoolVar(&B2D.Clobber, "clobber", false, "overwrite Docker client binary on boot2docker upgrade")
101
+
}
102
+
103
+
flags.BoolVar(&B2D.ForceUpgradeDownload, "force-upgrade-download", false, "always download on boot2docker upgrade, never skip")
96
104
97
105
// Sven disabled this, as it is broken - if I user with a fresh computer downloads
98
106
// just the boot2docker-cli, and then runs `boot2docker --init ip`, we create a vm
0 commit comments