Comments (9)
I typically use this to run a final stage update
d-i preseed/late_command string \
in-target rm -rf /var/lib/apt/lists ; \
in-target apt-get update ; \
in-target apt-get -y upgrade ; \
in-target apt-get -y dist-upgrade ; \
in-target apt-get -y autoremove ; \
in-target apt-get autoclean ; \
in-target apt-get clean
from packer-build.
Ubuntu seems to ignore the following:
ubiquity ubiquity/download_updates boolean true
ubiquity ubiquity/use_nonfree boolean true
from packer-build.
It would appear that d-i pkgsel/upgrade select full-upgrade
also doesn't work properly either.
from packer-build.
It may be necessary to remove the junk at the beginning of all the ubuntu preseed files (the junk that was copied from the official ISO).
from packer-build.
We trigger updates using a preseed/late_command coupled with an additional script hosted alongside the preseed file (which Packer happily serves but can be tricky to access without knowing the IP of the preseed server from the host instance, I'm not sure if the Packer .HTTPIP var shows up inside the preseed environment).
from packer-build.
This could be done with an inline command. I was just hoping not to have to do that since it's a bit ugly. The ubiquity/debian installer has such a command--ubiquity just seems to ignore it for some reason.
Might be the same "fix" as proposed for #9--cull the "official" goop at the beginning of the preseed files.
from packer-build.
Are you using the desktop ISO or the server one? I thought Ubiquity was
only for the desktop versions of the installers. I typically only use the
d-i commands when building from the server ISO as those consistently work
with only a few exceptions.
On Thu, Mar 3, 2016 at 4:25 PM, Tyler Tidman [email protected]
wrote:
This could probably be done with an inline command. I'm was just hoping
not to have to do that since it's a bit ugly. The ubiquity/debian installer
has such a command--ubiquity just seems to ignore it for some reason.Might be the same "fix" as proposed for #9
#9 the "official"
goop at the beginning of the preseed files.—
Reply to this email directly or view it on GitHub
#7 (comment).
from packer-build.
from packer-build.
Pretty sure that http://cdimage.ubuntu.com/netboot/ is going to be a slightly better and less hackish way of making sure all updates are yanked in at build time.
This might also get around some of the stupidity of ubiquity as well and allow better automation for building desktop images too.
from packer-build.
Related Issues (20)
- ubuntu/xenial/base-uefi.json freezes on GRUB menu HOT 3
- UEFI Booting on VirtualBox HOT 2
- gpus? HOT 1
- vagrant-libvirtd: possible hint HOT 1
- Bionic fails to build with Packer HOT 1
- Post-processor build failure on bionic HOT 3
- Crash with Bionic Beaver and Packer 1.2.4 HOT 3
- Build failed running post-processor: shell-local HOT 3
- Packer fix error (when running with packer 1.4.2) HOT 2
- Missing qemu.sh and vbox.sh HOT 1
- LUKS unattended builds do not complete automatically HOT 6
- Thanks for the inspiration! HOT 1
- Error getting SSH address 500 QEMU guest agent is not running HOT 3
- [preseed debian] Skip past "Force UEFI Install" installer prompt HOT 1
- qemuargs build options HOT 4
- [DEBUG] SSH handshake err
- Templating of external files is not yet complete in conversion from YAML to HCL HOT 14
- Debian UEFI build HOT 4
- 'packer validate' throws errors HOT 4
- Errors in building packer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-build.