Combines the example preseed/late_command and updates example iso url to stable 11.7 endpoint #141
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addressed a number of issues that I ran into when testing the provided example. The first issue is the iso url in the example is no longer valid. I updated it to 11.7 the latest minor version of bullseye that has a stable endpoint. The next issue addressed in this pr is in the supplied preseed file. I noticed in testing that the
vagrant
user could not do passwordless sudo. Upon further inspection I could see in/var/log/installer/syslog
that only the lastsed
late_command was ran. I did some digging and found a number of random SO posts/comments that claimed you can only have a single preseed/late_command. I attempted to find some official Debian documentation that supported that claim and this.This was tested on an M1 mac running VMWare Fusion 13. I verified that with this change passwordless sudo was enabled for the
vagrant
user and thecdrom
source was commented out of thesource.list
file.I had a coworker test this change on an intel Mac and they said it 'worked' though I was not there to validate what 'worked' meant to them.