add tftp template and make swap partition max size 128G

Change-Id: If96726e34f7cae5f442e13e189cc8d67a8fcb191
This commit is contained in:
xiaodongwang 2014-02-04 18:19:25 -08:00
parent 35e924912a
commit 6270b3f243
2 changed files with 22 additions and 1 deletions

View 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
}

View File

@ -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