Project

General

Profile

Actions

Task #1314

closed

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 almost 9 years ago. Updated over 4 years ago.

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

0%

Tags:
EasyHack, Salt

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

Actions #1

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

Also available in: Atom PDF