bug 1065, fix locale issues with virsh and virt-clone
authorKwadronaut <kwadronaut@leap.se>
Tue, 11 Dec 2012 21:06:47 +0000 (22:06 +0100)
committerKwadronaut <kwadronaut@leap.se>
Tue, 11 Dec 2012 21:06:47 +0000 (22:06 +0100)
create-guest-with-cloudinit

index 7a0037c..994ec90 100755 (executable)
@@ -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