Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
alpine-conf
alpine-conf
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • alpine-confalpine-conf
  • Issues
  • #2540

Closed
Open
Opened Jan 07, 2014 by freedomrun freedomrun@freedomrun

let the installer script automatically disable apk cd/dvd source paths at the end of full installation

I saw this today while testing debian installation in vbox but figured that it existed long before that.
This would be very nice feature to have and it would make alpine setup script even more sophisticated.

I was stunt by that idea to see that in alpine and in thinking on few simple ways to implement that, so time passed and I was too late to create an screenshot. But anyway the results of mentioned feature gave my debian install disabled apt CD paths in sources.list

So I`ve started the search and found some a bit old info on this page:
http://bryars.eu/2011/08/automating-debian-preseed-installs-with-raid-and-lvm/

info:(at the bottom)
——-
Use network install for updates, but cd/dvd for install

d-i preseed/early_command string anna-install net-retriever;

### Mirror settings

  1. If you select ftp, the mirror/country string does not need to be set.
    #d-i mirror/protocol string ftp
    d-i mirror/country string manual
    d-i mirror/http/hostname string ftp.uk.debian.org
    d-i mirror/http/hostname seen true
    d-i mirror/http/directory string /debian
    d-i mirror/http/directory seen true
    d-i mirror/http/proxy string
  1. Suite to install.
    d-i mirror/suite string squeeze
  2. Suite to use for loading installer components (optional).
    d-i mirror/udeb/suite string squeeze
  1. disable the cdrom path from the apt soruces.list automatically
    d-i preseed/late_command in-target sed -i ‘s/^deb cdrom/# DISABLED deb/’ /etc/apt/sources.list

(from redmine: issue id 2540, created on 2014-01-07, closed on 2014-05-30)

  • Changesets:
    • Revision 1109a9bf by Natanael Copa on 2014-04-23T10:00:10Z:
setup-disk: comment out local repositories

fixes #2540
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/alpine-conf#2540