Advertisement
Guest User

Untitled

a guest
Dec 12th, 2012
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@pltsol1-dhcp62:/opt/vmware/etc/vami# cat /opt/vmware/etc/vami/ovfEnv.xml
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <Environment
  4.      xmlns="http://schemas.dmtf.org/ovf/environment/1"
  5.      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6.      xmlns:oe="http://schemas.dmtf.org/ovf/environment/1"
  7.      xmlns:ve="http://www.vmware.com/schema/ovfenv"
  8.      oe:id="">
  9.    <PropertySection>
  10.          <Property oe:key="vami.hostname" oe:value="myhostname.whatever.com"/>
  11.    </PropertySection>
  12. </Environment>
  13.  
  14. root@pltsol1-dhcp62:/opt/vmware/etc/vami# /opt/vmware/share/vami/vami_ovf_process -n
  15. Appliance Name -
  16. Configuration for eth0 found
  17. Hostname: myhostname.whatever.com
  18.  
  19. root@pltsol1-dhcp62:/opt/vmware/etc/vami/flags# cat /etc/hosts
  20. 127.0.0.1  myhostname.whatever.com myhostname localhost
  21. ::1     myhostname.whatever.com myhostname localhost ip6-localhost ip6-loopback
  22.  
  23. root@pltsol1-dhcp62:/opt/vmware/etc/vami/flags# ls -al /opt/vmware/etc/vami/flags/
  24. total 8
  25. drwxr-xr-x 2 root root 4096 Oct  6 00:56 .
  26. drwxr-xr-x 3 root root 4096 Oct  6 00:56 ..
  27. ...
  28. -rw-r--r-- 1 root root    0 Sep 14 04:36 vami_sethostname
  29. -rw-r--r-- 1 root root    0 Sep 14 04:36 vami_setnetwork
  30. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement