Actions
Task #1314
closedmake sure cdrom media is disabled - otherwise apt-get sits there consuming 100% CPU waiting for cdrom to be hooked up
Start date:
Due date:
% Done:
0%
Tags:
EasyHack, Salt
URL:
Description
Happened to me today.
Wondered why highstate wouldn't progress, and seeing apt-get using 100% CPU for hours...
Turns out that after VM install, the cdrom doesn't get auto-mounted, and thus no package installation succeeds, as it wants it from disk.
So salt should have a rule to comment out the cdrom values from /etc/apt/sources.lst
Updated by Guilhem Moulin over 4 years ago
- Status changed from New to Closed
- Assignee set to Guilhem Moulin
Closing, since Dec 2017 the sources.list(5) file is entirely generated from salt and only contain the strict minimum: no deb-src types, only HTTP URLs (no CDROM), only relevant suite and main
component.
Actions