From 8de8d22e1ddebc542c963a0509da08ff9b74dc95 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 26 Jun 2014 11:05:36 +1000 Subject: [PATCH] Add "autocluster cluster build" command shortcut Signed-off-by: Martin Schwenke --- autocluster | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autocluster b/autocluster index ccbec87..f742848 100755 --- a/autocluster +++ b/autocluster @@ -54,7 +54,7 @@ EOF commands: base [ create | boot ] ... - cluster [ destroy | create | update_hosts | boot | configure ] ... + cluster [ build | destroy | create | update_hosts | boot | configure ] ... create base create a base image @@ -1393,6 +1393,11 @@ case "$t" in case "$t" in destroy|create|update_hosts|boot|configure) actions_add "cluster_${t}" ;; + build) + for t in destroy create update_hosts boot configure ; do + actions_add "cluster_${t}" + done + ;; *) usage ;; esac done -- 2.34.1