aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/system-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/system-upgrade')
-rwxr-xr-xshare/hydractl/system-upgrade3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade
index b26d90a..a35457b 100755
--- a/share/hydractl/system-upgrade
+++ b/share/hydractl/system-upgrade
@@ -24,7 +24,8 @@ hydra_config_load
BASENAME="`basename $0`"
# Available releases
-release="`facter lsbdistcodename`"
+#release="`facter lsbdistcodename`" # this doesn't work on squeeze
+release="`facter | grep lsbdistcodename | sed -e 's/lsbdistcodename => //'`"
nextrelease="`hydra_next_debian_release $release`"
# Ensure puppet is stopped during the process