[Spacewalk-list] Setting HOSTNAME as volume group name

Lupin Deterd lupindeterd at gmail.com
Mon Dec 16 01:11:23 UTC 2013


Hi list,

Any idea how to achieve what I need? I tried to create a pre-script that
contain the following(taken from internet).

%include /tmp/disk.ks

%pre

cat > /tmp/disk.ks <<EOF
part pv.01 --size=1 --grow
volgroup vg_$(hostname) pv.01
EOF
%end

But it doesn't work. I'm working on wizard based KS profile.

Thanks,
Lupin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20131216/e8f01c4a/attachment.htm>


More information about the Spacewalk-list mailing list