Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2015
774
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. ## ===================================================
  2. ## Hetzner Online AG - installimage - standardconfig
  3. ## ===================================================
  4.  
  5.  
  6.  
  7. ## ====================
  8. ## HARD DISK DRIVE(S):
  9. ## ====================
  10.  
  11. ## PLEASE READ THE NOTES BELOW!
  12.  
  13. # Onboard: Corsair CSSD-F120GB2
  14. DRIVE1 /dev/sda
  15. # Onboard: ST33000651AS
  16. DRIVE2 /dev/sdb
  17. # Onboard: ST33000651AS
  18. DRIVE3 /dev/sdc
  19.  
  20. ## if you dont want raid over your three drives then comment out the following line and set SWRAIDLEVEL not to 5
  21. ## please make sure the DRIVE[nr] variable is strict ascending with the used harddisks, when you comment out one or more harddisks
  22.  
  23.  
  24.  
  25. ## ===============
  26. ## SOFTWARE RAID:
  27. ## ===============
  28.  
  29. ## activate software RAID? < 0 | 1 >
  30.  
  31. SWRAID 1
  32.  
  33. ## Choose the level for the software RAID < 0 | 1 | 5 >
  34.  
  35. SWRAIDLEVEL 5
  36.  
  37.  
  38. ## ============
  39. ## BOOTLOADER:
  40. ## ============
  41.  
  42.  
  43. ## which bootloader should be used? < lilo | grub >
  44.  
  45. BOOTLOADER grub
  46.  
  47.  
  48.  
  49. ## ==========
  50. ## HOSTNAME:
  51. ## ==========
  52.  
  53. ## which hostname should be set?
  54. ##
  55.  
  56. HOSTNAME Debian-78-wheezy-64-minimal
  57.  
  58.  
  59.  
  60. ## ==========================
  61. ## PARTITIONS / FILESYSTEMS:
  62. ## ==========================
  63.  
  64. ## define your partitions and filesystems like this:
  65. ##
  66. ## PART <mountpoint/lvm> <filesystem/VG> <size in MB>
  67. ##
  68. ## * <mountpoint/lvm> mountpoint for this filesystem *OR* keyword 'lvm'
  69. ## to use this PART as volume group (VG) for LVM
  70. ## * <filesystem/VG> can be ext2, ext3, reiserfs, xfs, swap *OR* name
  71. ## of the LVM volume group (VG), if this PART is a VG
  72. ## * <size> you can use the keyword 'all' to assign all the
  73. ## remaining space of the drive to the *last* partition.
  74. ## you can use M/G/T for unit specification in MIB/GIB/TIB
  75. ##
  76. ## notes:
  77. ## - extended partitions are created automatically
  78. ## - '/boot' cannot be on a xfs filesystem!
  79. ## - '/boot' cannot be on LVM!
  80. ## - when using software RAID 0, you need a '/boot' partition
  81. ##
  82. ## example without LVM (default):
  83. ## -> 4GB swapspace
  84. ## -> 512MB /boot
  85. ## -> 10GB /
  86. ## -> 5GB /tmp
  87. ## -> all the rest to /home
  88. #PART swap swap 4096
  89. #PART /boot ext2 512
  90. #PART / reiserfs 10240
  91. #PART /tmp xfs 5120
  92. #PART /home ext3 all
  93. #
  94. ##
  95. ## to activate LVM, you have to define volume groups and logical volumes
  96. ##
  97. ## example with LVM:
  98. #
  99. ## normal filesystems and volume group definitions:
  100. ## -> 512MB boot (not on lvm)
  101. ## -> all the rest for LVM VG 'vg0'
  102. #PART /boot ext3 512M
  103. #PART lvm vg0 all
  104. #
  105. ## logical volume definitions:
  106. #LV <VG> <name> <mount> <filesystem> <size>
  107. #
  108. #LV vg0 root / ext4 10G
  109. #LV vg0 swap swap swap 4G
  110. #LV vg0 tmp /tmp reiserfs 5G
  111. #LV vg0 home /home xfs 20G
  112. #
  113. #
  114. ## your system has the following devices:
  115. #
  116. # Disk /dev/sda: 120 GB (=> 111 GiB)
  117. # Disk /dev/sdb: 3000 GB (=> 2794 GiB)
  118. # Disk /dev/sdc: 3000 GB (=> 2794 GiB)
  119. #
  120. ## Based on your disks and which RAID level you will choose you have
  121. ## the following free space to allocate (in GiB):
  122. # RAID 0: ~333
  123. # RAID 1: ~111
  124. # RAID 5: ~222
  125. #
  126.  
  127. PART swap swap 8G
  128. PART /boot ext3 512M
  129. PART / ext4 all
  130.  
  131.  
  132.  
  133. ## ========================
  134. ## OPERATING SYSTEM IMAGE:
  135. ## ========================
  136.  
  137. ## full path to the operating system image
  138. ## supported image sources: local dir, ftp, http, nfs
  139. ## supported image types: tar, tar.gz, tar.bz, tar.bz2, tar.xz, tgz, tbz, txz
  140. ## examples:
  141. #
  142. # local: /path/to/image/filename.tar.gz
  143. # ftp: ftp://<user>:<password>@hostname/path/to/image/filename.tar.bz2
  144. # http: http://<user>:<password>@hostname/path/to/image/filename.tbz
  145. # https: https://<user>:<password>@hostname/path/to/image/filename.tbz
  146. # nfs: hostname:/path/to/image/filename.tgz
  147. #
  148. # for validation of the image, place the detached gpg-signature
  149. # and your public key in the same directory as your image file.
  150. # naming examples:
  151. # signature: filename.tar.bz2.sig
  152. # public key: public-key.asc
  153.  
  154. IMAGE //root/.oldroot/nfs/images/Debian-78-wheezy-64-minimal.tar.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement