Someone else may have a more elegant solution, but we tested this by editing
the following lines the sendRDPfile() function in the utils.php file and
registering our hostname in within dns.
function sendRDPfile() {
…
#see excerpt below
print "session bpp:i:$bpp\r\n";
print "winposstr:s:0,1,382,71,1182,671\r\n";
#print "full address:s:$ipaddress\r\n"; #COMMENTED OUT
THIS LINE
$vm_hostname = gethostbyaddr($ipaddress); #ADDED THIS LINE
print "full address:s:$vm_hostname\r\n"; #ADDED THIS LINE
…
Kelly
From: "Casa 40 B. de A." <[email protected]<mailto:[email protected]>>
Reply-To: <[email protected]<mailto:[email protected]>>
Date: Wed, 5 Sep 2012 14:21:16 -0500
To: <[email protected]<mailto:[email protected]>>
Subject: Change RDP file configuration from mangement node or web server
Hi everybody
When we make a reservation, RDP file is configured with IP address of the
computer reserved.
We need RDP file is configured with the hostname of the computer and our domain
name (hostname.my.domain.org<http://hostname.my.domain.org>) instead IP
address. Is it possible to configure like this?
I'am newby in VCL
Kind regards to all