###########################################
###########################################
-<% if scope.lookupvar('::cluster') == 'ganeti2.debian.org' -%>
+<% if scope.lookupvar('::cluster').to_s == 'ganeti2.debian.org' -%>
###########################################
if [ "$NIC_COUNT" -ge 1 ]; then
###########################################
###########################################
-<% elif scope.lookupvar('::cluster') == 'ganeti-osuosl.debian.org' -%>
+<% elif scope.lookupvar('::cluster').to_s == 'ganeti-osuosl.debian.org' -%>
#
###########################################
if [ "$NIC_COUNT" -ge 1 ]; then
<% else -%>
+# No config for cluster <%= scope.lookupvar('::cluster').to_s %>
cp /etc/resolv.conf $TARGET/etc/resolv.conf
<% end -%>