[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, squeeze, updated. 0.6-20-g5d96479
Andreas B. Mundt
andi at debian.org
Tue Sep 4 10:08:11 UTC 2012
The following commit has been merged in the squeeze branch:
commit 5d964792cd802a66571ea106aff04dc2f67fd30a
Author: Andreas B. Mundt <andi at debian.org>
Date: Sun Sep 2 22:50:04 2012 +0200
Rename disk configuration files consistently.
The number in the class name equals the number of partitions on the
system disk.
diff --git a/fai/config/class/50-host-classes b/fai/config/class/50-host-classes
index 55c2f89..95e5639 100755
--- a/fai/config/class/50-host-classes
+++ b/fai/config/class/50-host-classes
@@ -15,7 +15,7 @@
## The network configuration (cf. 'class/SERVER_A.var') determines
## if the mainserver acts as gateway to the external network.
##
-## *LVM6_A | *LVM7_A DISKLESS_SERVER --> diskless client server
+## *LVM7_A | *LVM8_A DISKLESS_SERVER --> diskless client server
##
## LVM*_A | RAIDLVM*_A RAID --> RAID1 (mirroring)
##
@@ -29,13 +29,13 @@
## GERMAN localization class
##
-FLAVOR="LVM6_A"
+FLAVOR="LVM7_A"
#FLAVOR="LVM6BAK_A" ## backup disk
-#FLAVOR="RAIDLVM6_A RAID" ## RAID1
+#FLAVOR="RAIDLVM7_A RAID" ## RAID1
#FLAVOR="RAIDLVM6BAK_A RAID" ## RAID1, backup disk
-#FLAVOR="LVM7_A DISKLESS_SERVER" ## diskless
+#FLAVOR="LVM8_A DISKLESS_SERVER" ## diskless
#FLAVOR="LVM7BAK_A DISKLESS_SERVER" ## diskless, backup disk
-#FLAVOR="RAIDLVM7_A RAID DISKLESS_SERVER" ## diskless, RAID1
+#FLAVOR="RAIDLVM8_A RAID DISKLESS_SERVER" ## diskless, RAID1
#FLAVOR="RAIDLVM7BAK_A RAID DISKLESS_SERVER" ## diskless, RAID1, backup disk
MAINSERVER_A="$FLAVOR LOG_SERVER PROXY NTP_SERVER DNS_SERVER NFS_SERVER \
diff --git a/fai/config/disk_config/LVM6_A b/fai/config/disk_config/LVM6_A
deleted file mode 100644
index 8d6e878..0000000
--- a/fai/config/disk_config/LVM6_A
+++ /dev/null
@@ -1,12 +0,0 @@
-disk_config disk1 fstabkey:uuid
-primary /boot 64-256 ext3 rw
-primary swap 64-2096 swap sw
-logical - 0- - -
-
-disk_config lvm
-vg vg_system disk1.5
-vg_system-root / 1G-5G ext3 errors=remount-ro
-vg_system-usr /usr 2G-20G ext3 defaults
-vg_system-var /var 1G-20G ext3 defaults
-vg_system-home /lan/mainserver/home0 1G-40% ext3 defaults
-vg_system-backup /backup 1G-40% ext3 defaults
diff --git a/fai/config/disk_config/LVM7_A b/fai/config/disk_config/LVM7_A
index 221d5f1..8d6e878 100644
--- a/fai/config/disk_config/LVM7_A
+++ b/fai/config/disk_config/LVM7_A
@@ -8,6 +8,5 @@ vg vg_system disk1.5
vg_system-root / 1G-5G ext3 errors=remount-ro
vg_system-usr /usr 2G-20G ext3 defaults
vg_system-var /var 1G-20G ext3 defaults
-vg_system-opt /opt 4G-10G ext3 defaults
vg_system-home /lan/mainserver/home0 1G-40% ext3 defaults
vg_system-backup /backup 1G-40% ext3 defaults
diff --git a/fai/config/disk_config/LVM7_A b/fai/config/disk_config/LVM8_A
similarity index 100%
copy from fai/config/disk_config/LVM7_A
copy to fai/config/disk_config/LVM8_A
diff --git a/fai/config/disk_config/RAIDLVM6_A b/fai/config/disk_config/RAIDLVM6_A
deleted file mode 100644
index 7f4fd1f..0000000
--- a/fai/config/disk_config/RAIDLVM6_A
+++ /dev/null
@@ -1,23 +0,0 @@
-## RAID1 on two identical disks.
-
-disk_config disk1
-primary - 64-256 - -
-primary - 64-2096 - -
-logical - 0- - -
-
-disk_config disk2 sameas:disk1
-
-
-disk_config raid fstabkey:uuid
-raid1 /boot disk1.1,disk2.1 ext3 rw
-raid1 swap disk1.2,disk2.2 swap sw
-raid1 - disk1.5,disk2.5 - -
-
-
-disk_config lvm fstabkey:uuid
-vg vg_system md2
-vg_system-root / 1G-5G ext3 errors=remount-ro
-vg_system-usr /usr 2G-20G ext3 defaults
-vg_system-var /var 1G-20G ext3 defaults
-vg_system-home /lan/mainserver/home0 1G-40% ext3 defaults
-vg_system-backup /backup 1G-40% ext3 defaults
diff --git a/fai/config/disk_config/RAIDLVM7_A b/fai/config/disk_config/RAIDLVM7_A
index da95318..7f4fd1f 100644
--- a/fai/config/disk_config/RAIDLVM7_A
+++ b/fai/config/disk_config/RAIDLVM7_A
@@ -19,6 +19,5 @@ vg vg_system md2
vg_system-root / 1G-5G ext3 errors=remount-ro
vg_system-usr /usr 2G-20G ext3 defaults
vg_system-var /var 1G-20G ext3 defaults
-vg_system-opt /opt 4G-10G ext3 defaults
vg_system-home /lan/mainserver/home0 1G-40% ext3 defaults
vg_system-backup /backup 1G-40% ext3 defaults
diff --git a/fai/config/disk_config/RAIDLVM7_A b/fai/config/disk_config/RAIDLVM8_A
similarity index 100%
copy from fai/config/disk_config/RAIDLVM7_A
copy to fai/config/disk_config/RAIDLVM8_A
--
Debian-LAN development and packaging
More information about the debian-lan-devel
mailing list