Skip to content

Commit

Permalink
debian ks improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sergevs committed Dec 19, 2017
1 parent c584d25 commit b03d131
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ remote_user = root
# By default, this option is disabled to preserve compatibility with
# sudoers configurations that have requiretty (the default on many distros).
#
#pipelining = False
pipelining = True

# Control the mechanism for transfering files
# * smart = try sftp and then try scp [default]
Expand Down
2 changes: 1 addition & 1 deletion templates/preseed/debian.wheezy.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ d-i netcfg/disable_dhcp boolean false
# Let the automatic partitioner set-up the following partitions
# Method
d-i partman-auto/method string regular
d-i partman-auto/disk string /dev/sda
d-i partman-auto/disk string /dev/{{ hostvars[item]['drive'] | default('sda') }}
d-i partman/mount_style select uuid
d-i partman/alignment string optimal
d-i partman/default_filesystem string ext4
Expand Down
4 changes: 2 additions & 2 deletions templates/preseed/ubuntu.trusty.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ d-i netcfg/get_domain seen true
# Partition Config
# Let the automatic partitioner set-up the following partitions
d-i partman-auto/method string regular
d-i partman-auto/disk string /dev/sda
d-i partman-auto/disk string /dev/{{ hostvars[item]['drive'] | default('sda') }}
d-i partman/mount_style select uuid
d-i partman/alignment string optimal
d-i partman/default_filesystem string ext4
Expand Down Expand Up @@ -60,7 +60,7 @@ d-i partman-auto/choose_recipe select atomic
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/countries string Russian Federation
d-i mirror/http/directory string /ubuntu
d-i mirror/http/directory string /repo/ubuntu
d-i mirror/http/hostname string {{ repo_url.rpartition('//')[2].split(':')[0].split('/')[0] }}
d-i mirror/http/proxy string
#d-i mirror/http/mirror select CC.archive.ubuntu.com
Expand Down

0 comments on commit b03d131

Please sign in to comment.