summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKwadronaut <kwadronaut@leap.se>2012-12-11 22:06:47 +0100
committerKwadronaut <kwadronaut@leap.se>2012-12-11 22:06:47 +0100
commitc682814fb8532271ec30e98511a25e708a4aef0a (patch)
tree9da9d1f3f5ac3455e9bffc60ff02c20f5e3df371
parentc92ede9f094d605fa349b44dea753324cf367894 (diff)
bug 1065, fix locale issues with virsh and virt-clone
-rwxr-xr-xcreate-guest-with-cloudinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/create-guest-with-cloudinit b/create-guest-with-cloudinit
index 7a0037c..994ec90 100755
--- a/create-guest-with-cloudinit
+++ b/create-guest-with-cloudinit
@@ -12,6 +12,7 @@ VARDIR='/var/lib/libvirt/cloudinit'
SCRIPTDIR='/usr/local/bin/leap_cloudadmin'
KVM_URI='qemu:///system'
SEED='cloudinit_seed.img'
+[ -z "$LC_ALL" ] && LC_ALL="en_US.UTF-8"
# overwrite defaults
[ -e $CONFIG ] && . $CONFIG