Changeset 67882 in vbox for trunk/src/VBox/Installer/common
- Timestamp:
- Jul 10, 2017 3:29:49 PM (8 years ago)
- Location:
- trunk/src/VBox/Installer/common/unattended_templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/common/unattended_templates/debian_preseed.cfg
r67881 r67882 39 39 40 40 # Users 41 d-i passwd/user-fullname string VBox user42 [change]d-i passwd/username string $user 43 [change]d-i passwd/user-password password $password 44 [change]d-i passwd/user-password-again password $password 41 d-i passwd/user-fullname string @@VBOX_INSERT_USER_FULL_NAME@@ 42 d-i passwd/username string @@VBOX_INSERT_USER_LOGIN@@ 43 d-i passwd/user-password password @@VBOX_INSERT_USER_PASSWORD@@ 44 d-i passwd/user-password-again password @@VBOX_INSERT_USER_PASSWORD@@ 45 45 d-i passwd/root-login boolean true 46 [change]d-i passwd/root-password password $password 47 [change]d-i passwd/root-password-again password $password 46 d-i passwd/root-password password @@VBOX_INSERT_ROOT_PASSWORD@@ 47 d-i passwd/root-password-again password @@VBOX_INSERT_ROOT_PASSWORD@@ 48 48 d-i user-setup/allow-password-weak boolean true 49 49 d-i passwd/user-default-groups string admin … … 69 69 echo 'apt-get -y install build-essential' >> post-install.sh; \ 70 70 echo 'apt-get -y install linux-headers-$(uname -r)' >> post-install.sh; \ 71 echo 'mkdir /mnt/cdrom' >> post-install.sh; \71 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@echo 'mkdir /mnt/cdrom' >> post-install.sh; \ 72 72 echo 'echo' >> post-install.sh; \ 73 73 echo 'echo "Installing VirtualBox Guest Additions..."' >> post-install.sh; \ 74 74 echo 'mount -t iso9660 -o ro /dev/sr1 /mnt/cdrom' >> post-install.sh; \ 75 75 echo 'bash /mnt/cdrom/VBoxLinuxAdditions.run' >> post-install.sh; \ 76 echo 'usermod -a -G vboxsf @@VBOX_INSERT_USER_LOGIN@@' >> post-install.sh; \ 76 77 echo 'eject /dev/sr0' >> post-install.sh; \ 77 [change]echo 'usermod -a -G vboxsf $user' >> post-install.sh; \ 78 echo 'exit 0' >> post-install.sh; \ 78 @@VBOX_COND_END@@echo 'exit 0' >> post-install.sh; \ 79 79 chroot /target chmod +x /postinstall/post-install.sh; \ 80 80 chroot /target /bin/bash /postinstall/post-install.sh -
trunk/src/VBox/Installer/common/unattended_templates/ubuntu_preseed.cfg
r67881 r67882 39 39 40 40 # Users 41 d-i passwd/user-fullname string VBox user42 [change]d-i passwd/username string $user 43 [change]d-i passwd/user-password password $password 44 [change]d-i passwd/user-password-again password $password 41 d-i passwd/user-fullname string @@VBOX_INSERT_USER_FULL_NAME@@ 42 d-i passwd/username string @@VBOX_INSERT_USER_LOGIN@@ 43 d-i passwd/user-password password @@VBOX_INSERT_USER_PASSWORD@@ 44 d-i passwd/user-password-again password @@VBOX_INSERT_USER_PASSWORD@@ 45 45 d-i passwd/root-login boolean true 46 [change]d-i passwd/root-password password $password 47 [change]d-i passwd/root-password-again password $password 46 d-i passwd/root-password password @@VBOX_INSERT_ROOT_PASSWORD@@ 47 d-i passwd/root-password-again password @@VBOX_INSERT_ROOT_PASSWORD@@ 48 48 d-i user-setup/allow-password-weak boolean true 49 49 d-i passwd/user-default-groups string admin … … 69 69 echo 'apt-get -y install build-essential' >> post-install.sh; \ 70 70 echo 'apt-get -y install linux-headers-$(uname -r)' >> post-install.sh; \ 71 echo 'mkdir /mnt/cdrom' >> post-install.sh; \71 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@echo 'mkdir /mnt/cdrom' >> post-install.sh; \ 72 72 echo 'echo' >> post-install.sh; \ 73 73 echo 'echo "Installing VirtualBox Guest Additions..."' >> post-install.sh; \ 74 74 echo 'mount -t iso9660 -o ro /dev/sr1 /mnt/cdrom' >> post-install.sh; \ 75 75 echo 'bash /mnt/cdrom/VBoxLinuxAdditions.run' >> post-install.sh; \ 76 echo 'usermod -a -G vboxsf @@VBOX_INSERT_USER_LOGIN@@' >> post-install.sh; \ 76 77 echo 'eject /dev/sr0' >> post-install.sh; \ 77 [change]echo 'usermod -a -G vboxsf $user' >> post-install.sh; \ 78 echo 'exit 0' >> post-install.sh; \ 78 @@VBOX_COND_END@@echo 'exit 0' >> post-install.sh; \ 79 79 chroot /target chmod +x /postinstall/post-install.sh; \ 80 80 chroot /target /bin/bash /postinstall/post-install.sh
Note:
See TracChangeset
for help on using the changeset viewer.