Sure…this is REALLY weird. Looks like it should be working. I also posted the hostname command at the end showing the dashes.
onetemplate show 0 --------->
TEMPLATE 0 INFORMATION
ID : 0
NAME : CentOS 7.2 - KVM
USER : oneadmin
GROUP : oneadmin
REGISTER TIME : 06/15 14:56:49
PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —
TEMPLATE CONTENTS
CONTEXT=[
DOMAIN=“dkistdc.nso.edu”,
NETWORK=“YES”,
SET_HOSTNAME="$NAME",
SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]",
START_SCRIPT="#!/bin/sh
if [ ! -f /etc/salt/minion ]; then
yum clean all
yum -y update
yum -y install salt-minion
systemctl enable salt-minion.service
systemctl start salt-minion.service
fi" ]
CPU="1"
DISK=[
IMAGE=“CentOS 7.2 - KVM”,
IMAGE_UNAME=“oneadmin” ]
DISK=[
IMAGE=“Test Disk”,
IMAGE_UNAME=“thays” ]
GRAPHICS=[
LISTEN=“0.0.0.0”,
TYPE=“VNC” ]
LOGO="images/logos/centos.png"
MEMORY="768"
NIC=[
NETWORK=“Mgmt”,
NETWORK_UNAME=“oneadmin” ]
OS=[
ARCH=“x86_64” ]
onevm show 71 output ------->
VIRTUAL MACHINE 71 INFORMATION
ID : 71
NAME : dnstest2.dkistdc.nso.edu
USER : thays
GROUP : oneadmin
STATE : ACTIVE
LCM_STATE : RUNNING
RESCHED : No
HOST : drax
CLUSTER ID : 0
CLUSTER : default
START TIME : 08/02 07:52:54
END TIME : -
DEPLOY ID : one-71
VIRTUAL MACHINE MONITORING
CPU : 74.94
MEMORY : 1G
NETTX : 1.6M
NETRX : 222.6M
PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —
VM DISKS
ID DATASTORE TARGET IMAGE SIZE TYPE SAVE
0 default vda CentOS 7.2 - KVM 1.2G/8G file NO
1 default vdb Test Disk 1000M/100 file NO
2 - hda CONTEXT 1M/- - -
VM NICS
ID NETWORK BRIDGE IP MAC PCI_ID
0 Mgmt br0 10.224.128.205 02:00:0a:e0:80:cd
SECURITY
NIC_ID NETWORK SECURITY_GROUPS
0 Mgmt 0
SECURITY GROUP TYPE PROTOCOL NETWORK RANGE
ID NAME VNET START SIZE
0 default OUTBOUND ALL
0 default INBOUND ALL
VIRTUAL MACHINE HISTORY
SEQ HOST ACTION DS START TIME PROLOG
0 drax none 0 08/02 07:53:13 0d 00h07m 0h00m19s
USER TEMPLATE
LOGO=“images/logos/centos.png”
VIRTUAL MACHINE TEMPLATE
AUTOMATIC_DS_REQUIREMENTS="“CLUSTERS/ID” @> 0"
AUTOMATIC_REQUIREMENTS="(CLUSTER_ID = 0) & !(PUBLIC_CLOUD = YES)“
CONTEXT=[
DISK_ID=“2”,
DOMAIN=“dkistdc.nso.edu”,
ETH0_CONTEXT_FORCE_IPV4=”",
ETH0_DNS=“10.224.128.13”,
ETH0_GATEWAY=“10.224.128.1”,
ETH0_GATEWAY6="",
ETH0_IP=“10.224.128.205”,
ETH0_IP6="",
ETH0_IP6_ULA="",
ETH0_MAC=“02:00:0a:e0:80:cd”,
ETH0_MASK="",
ETH0_MTU="",
ETH0_NETWORK="",
ETH0_SEARCH_DOMAIN=“dkistdc.nso.edu”,
ETH0_VLAN_ID="",
ETH0_VROUTER_IP="",
ETH0_VROUTER_IP6="",
ETH0_VROUTER_MANAGEMENT="",
NETWORK=“YES”,
SET_HOSTNAME=“dnstest2.dkistdc.nso.edu”,
SSH_PUBLIC_KEY=“ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdI0ldF55NEfr/mSSZL/Ft4kjuJnuzTftwunYI/x63ORJFf/LclNOGGqSRPlxYPBZXAPbImu1O9qndn9XLcJYZuTRgWIXQOJXmlxjtN3BNI1VGYWSyhloyslCbEviMKklkjYBzDy4+aBgciyGzKsEDe4XF9pcPPfhQLWHRrvCQ1Jq6hXDSTjfCJ2PiaTMf5oZqmfnguDfDgfjdjCb3YVrPW7rpHzKjg1+MFAQt3GujnQwQkMKbDQrGmCzFNKeRoyAx4YWwykF1T3eHSCr1QLa7IcASQTz1kZsqNkDY8H8ygW7JaU1RV96p1Qor9jq2PKbv4BZhFVVfitYWTe+H6LFz”,
START_SCRIPT="#!/bin/sh
if [ ! -f /etc/salt/minion ]; then
yum clean all
yum -y update
yum -y install salt-minion
systemctl enable salt-minion.service
systemctl start salt-minion.service
fi",
TARGET=“hda” ]
CPU="1"
GRAPHICS=[
LISTEN=“0.0.0.0”,
PORT=“5971”,
TYPE=“VNC” ]
MEMORY="1024"
OS=[
ARCH=“x86_64” ]
TEMPLATE_ID="0"
VMID=“71”
hostname output ---------------->
[root@dnstest2-dkistdc-nso-edu ~]# hostname
dnstest2-dkistdc-nso-edu