Bug fix
diff --git a/files/etc/libvirt/hooks/qemu b/files/etc/libvirt/hooks/qemu
index 2b059cb..1c947f9 100644
--- a/files/etc/libvirt/hooks/qemu
+++ b/files/etc/libvirt/hooks/qemu
@@ -3,7 +3,7 @@
 SHELL="/bin/bash"
 
 NIC=$( route|grep default|awk '{print $NF}' )
-PORTAL=$( dig +short portal.opencloud.us )
+PORTAL=$( dig +short portal.opencloud.us | tail -1 )
 
 NAME="${1}"
 OP="${2}"