AW: [Users] HOWTO: Propagate VE0 (Host) Hostname into VE's ?
Robert Heinzmann
Robert.Heinzmann at 1und1.de
Mon Jun 29 09:01:54 EDT 2009
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: users-bounces at openvz.org
> [mailto:users-bounces at openvz.org] Im Auftrag von Christian
> Hofstaedtler
> Gesendet: Montag, 29. Juni 2009 14:52
> An: users at openvz.org
> Betreff: Re: [Users] HOWTO: Propagate VE0 (Host) Hostname into VE's ?
>
> Robert,
>
> * Robert Heinzmann <Robert.Heinzmann at 1und1.de> [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
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>
More information about the Users
mailing list