On 09/30/2009 12:11 AM, Jean Spirat wrote:
I think you don't use a proper hook. Let me try to elaborate:
- Create a disk config disk_config/SOMETHING that has ##HOSTNAME## in the
places
you'd like to see $HOSTNAME to be replaced.
- Add a hook hooks/partition.DEFAULT that does the
On 10/15/2009 10:10 PM, Michael Tautschnig wrote:
Darshaka Pathirana wrote:
Hmm. I don't think I understand what you mean. I mean I HAVE tried
using $HOSTNAME in my disk_config-layout with setup-storage and it did
NOT work (at least for me - see my first post in this thread).
Maybe I've done
On 09/30/2009 12:11 AM, Jean Spirat wrote:
I prefer using my own variables in my own namespace and initialize
them from a known good source - like $HOSTNAME. This may not be
the most obvious solution, but this way you can guarantee that
your variable has a valid value. And if $HOSTNAME
I prefer using my own variables in my own namespace and initialize them
from a known good source - like $HOSTNAME. This may not be the most
obvious solution, but this way you can guarantee that your variable has
a valid value. And if $HOSTNAME turns out to be unrealiable - or undesired
- then
On 09/30/2009 12:11 AM, Jean Spirat wrote:
I prefer using my own variables in my own namespace and initialize
them from a known good source - like $HOSTNAME. This may not be
the most obvious solution, but this way you can guarantee that
your variable has a valid value. And if $HOSTNAME turns
On 24.09.2009 12:30, Thomas Neumann wrote:
On 24.09.2009 10:50, Thomas Lange wrote:
You can write a hook that replaces $HOSTNAME with the current
hostname. This is the easiest way.
As a bonus: It even works!
;)
Cool! Thx! I'll give it a try!
Just to be sure: I am really supposed to
Hi!
I have the following disk_config-layout using setup-storage:
,
| disk_config sda bootable:1 fstabkey:uuid
| primary /boot 250 ext3 rw
| primary - 1500- - -
| disk_config lvm
| vg faiclient sda2
| faiclient-root / 250- ext3
On Thu, 24 Sep 2009 10:47:50 +0200, Darshaka Pathirana d...@syn-net.org
said:
Is there a way to set the vg-name same as the current hostname?
Something like this (which does NOT work):
,
| disk_config sda bootable:1 fstabkey:uuid
| primary /boot 250