"Automagic"
add an entry in /etc/fstab
for example, a line such as
Code:
/path/to/debian-live-7.0.0-amd64-gnome-desktop.iso /mnt/debian-live-7.0.0-amd64-gnome-desktop iso9660 ro 0 0
as root
Code:
mkdir /mnt/debian-live-7.0.0-amd64-gnome-desktop
mount /mnt/debian-live-7.0.0-amd64-gnome-desktop
and then add to /etc/apt/source.list ( or new file in /etc/apt/source.list.d )
Code:
deb file:/path/to/debian-live-7.0.0-amd64-gnome-desktop wheezy main
man fstab
man sources.list
for more details,
note, for older versions of
mount you may need to add
loop option ( ro,loop )