summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-08-21 11:37:43 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-08-21 11:37:43 -0400
commit346f63424b0a18b9aae2ed37d0f453b84a17e271 (patch)
tree9bb2009894296e8002671800c5d6e4d1e051e6d6
parent4b6d93d6f8e1006cd80f87ca356933d8ed5bef9b (diff)
downloadthird_party-cobbler-346f63424b0a18b9aae2ed37d0f453b84a17e271.tar.gz
third_party-cobbler-346f63424b0a18b9aae2ed37d0f453b84a17e271.tar.xz
third_party-cobbler-346f63424b0a18b9aae2ed37d0f453b84a17e271.zip
User reports in some situations %pre is being executed twice. To me, this
seems very odd, but this is the reported workaround -- either way, it will not hurt things.
-rw-r--r--snippets/partition_select2
1 files changed, 1 insertions, 1 deletions
diff --git a/snippets/partition_select b/snippets/partition_select
index a050df0..1f3e523 100644
--- a/snippets/partition_select
+++ b/snippets/partition_select
@@ -7,7 +7,7 @@ let numd=\$#/2
d1=\$1
d2=\$3
-cat << EOF >> /tmp/partinfo
+cat << EOF > /tmp/partinfo
part / --fstype ext3 --size=1024 --grow --ondisk=\$d1 --asprimary
part swap --size=1024 --ondisk=\$d1 --asprimary
EOF