add tftp template and make swap partition max size 128G
Change-Id: If96726e34f7cae5f442e13e189cc8d67a8fcb191
This commit is contained in:
parent
35e924912a
commit
6270b3f243
21
cobbler/conf/tftpd.template
Normal file
21
cobbler/conf/tftpd.template
Normal file
@ -0,0 +1,21 @@
|
||||
# default: off
|
||||
# description: The tftp server serves files using the trivial file transfer \
|
||||
# protocol. The tftp protocol is often used to boot diskless \
|
||||
# workstations, download configuration files to network-aware printers, \
|
||||
# and to start the installation process for some operating systems.
|
||||
service tftp
|
||||
{
|
||||
disable = no
|
||||
log_type = SYSLOG local5 info
|
||||
socket_type = dgram
|
||||
protocol = udp
|
||||
wait = yes
|
||||
user = $user
|
||||
server = $binary
|
||||
server_args = -B 1380 -v -s $args
|
||||
instances = 1000
|
||||
per_source = 1000
|
||||
cps = 1000 2
|
||||
flags = IPv4
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ echo "ignoredisk --only-use=$partitions_only" >> /tmp/part-include
|
||||
#end if
|
||||
|
||||
echo "part /boot --fstype ext3 --size=100 --ondisk=\${disks[0]} --asprimary" >> /tmp/part-include
|
||||
echo "part swap --recommended --ondisk=\${disks[0]}" >> /tmp/part-include
|
||||
echo "part swap --recommended --maxsize=128000 --ondisk=\${disks[0]}" >> /tmp/part-include
|
||||
|
||||
vggroup=''
|
||||
let disk_offset=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user