updated to debian 11, include non-free and contrib, improved sudo-stuff
This commit is contained in:
parent
ae42fb0f97
commit
6c5fb8c584
1
files/sudoers
Normal file
1
files/sudoers
Normal file
@ -0,0 +1 @@
|
||||
alegab ALL=(ALL:ALL) NOPASSWD:ALL
|
@ -69,6 +69,11 @@
|
||||
src: files/authorized_keys
|
||||
dest: /opt/ansiblepackages/debianunattended/isofiles/authorized_keys
|
||||
|
||||
- name: copy sudoers file
|
||||
copy:
|
||||
src: files/sudoers
|
||||
dest: /opt/ansiblepackages/debianunattended/isofiles/sudoers
|
||||
|
||||
- name: compress isofiles/install.amd/initrd
|
||||
command: gzip isofiles/install.amd/initrd
|
||||
args:
|
||||
|
@ -2,3 +2,8 @@
|
||||
mkdir -p /target/root/.ssh
|
||||
cp /cdrom/authorized_keys /target/root/.ssh
|
||||
chmod 700 /target/root/.ssh -R
|
||||
mkdir -p /target/home/{{ debianunattended_username }}/.ssh
|
||||
cp /cdrom/authorized_keys /target/home/{{ debianunattended_username }}/.ssh
|
||||
chown 1000:1000 /target/home/{{ debianunattended_username }}/.ssh -R
|
||||
chmod 700 /target/home/{{ debianunattended_username }}/.ssh -R
|
||||
cp /cdrom/sudoers /target/etc/sudoers.d/{{ debianunattended_username }}
|
||||
|
@ -316,8 +316,8 @@ d-i partman/confirm_nooverwrite boolean true
|
||||
|
||||
### Apt setup
|
||||
# You can choose to install non-free and contrib software.
|
||||
#d-i apt-setup/non-free boolean true
|
||||
#d-i apt-setup/contrib boolean true
|
||||
d-i apt-setup/non-free boolean true
|
||||
d-i apt-setup/contrib boolean true
|
||||
# Uncomment this if you don't want to use a network mirror.
|
||||
#d-i apt-setup/use_mirror boolean false
|
||||
# Select which update services to use; define the mirrors to be used.
|
||||
|
Loading…
Reference in New Issue
Block a user