Results 1 to 2 of 2
Is there a way to run apt-cdrom without user intervention from a bash script? I know what I want to call the CD, but the program prompts you for a ...
- 02-24-2007 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 41
apt-cdrom w/ no user intervention
Is there a way to run apt-cdrom without user intervention from a bash script? I know what I want to call the CD, but the program prompts you for a CD name and asks for other CD's in the collection. I only have one CD repo to add. Thanks!
- 02-27-2007 #2Just Joined!
- Join Date
- Dec 2006
- Posts
- 41
Figured it out with simple i/o redirection - should have thought of that.
$echo "disc name" | apt-cdrom add


Reply With Quote
