Hello Christian,
Thanks !!! Helped a lot.
Where did you find this ? ("May the source be with you luke" ?)
Viele Grüße,
Robert
Raum: 2308 (Ausgewiesen als 2309) / Fon: +49 721 91374-4918 / ICQ IM:
475787919 (office)
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Christian
> Hofstaedtler
> Gesendet: Montag, 29. Juni 2009 14:52
> An: [email protected]
> Betreff: Re: [Users] HOWTO: Propagate VE0 (Host) Hostname into VE's ?
>
> Robert,
>
> * Robert Heinzmann <[email protected]> [090629 14:43]:
> > Hello,
> >
> > I'm looking for a way to propagate the hostname of the VE0 a VE is
> > running on (aka "The Host") into the VE environments (e.g. VE100).
>
> we're using this snippet to propagate some info from the host
> to all VEs:
>
> --------------------
> vnode02:~# cat /etc/vz/conf/vps.mount
> #!/bin/sh
> cat /etc/hostname > /var/lib/vz/private/$VEID/etc/hnhostname
> awk '/nameserver/{ print $2 }' /etc/resolv.conf >
> /var/lib/vz/private/$VEID/etc/hnnameserver
> --------------------
>
> Christian
>
> --
> christian hofstaedtler
> _______________________________________________
> Users mailing list
> [email protected]
> https://openvz.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users