diff options
Diffstat (limited to 'etcd.install')
-rw-r--r-- | etcd.install | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/etcd.install b/etcd.install index 1e3696cc88b6..da8cd7b58c7e 100644 --- a/etcd.install +++ b/etcd.install @@ -1,4 +1,15 @@ -ETCD_DATA_DIR="/var/lib/etcd/" +ETCD_DATA_DIR="/var/lib/etcd" + +pre_upgrade() { +cat << EOF + To upgrade an existing etcd deployment to 2.2, you must be running 2.1. + If you’re running a version of etcd before 2.1, you must upgrade to 2.1 before upgrading to 2.2. + And you should, probably, read the following: + /usr/share/doc/etcd/04_to_2_snapshot_migration.md + /usr/share/doc/etcd/upgrade_2_1.md + /usr/share/doc/etcd/upgrade_2_2.md +EOF +} post_install() { mkdir -p "${ETCD_DATA_DIR}" |