#mkseed
mkseed is a simple generator for Debian preseed files.
- jinja2
from mkseed.generator import *
# Make an instance
gen = generator("IP", "NETMAKSK", "GATEWAY")
# Print the file to your console.
gen.printf()
# Save the file to disk.
gen.save("/path/to/file.ext")
# Upload the file via FTP.
gen.publish("ftp.host.com", "username", "pa$$word", "relative/path/to/file.ext")