Project

General

Profile

Task #1314

make sure cdrom media is disabled - otherwise apt-get sits there consuming 100% CPU waiting for cdrom to be hooked up

Added by Christian Lohmaier over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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

Also available in: Atom PDF