From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-June/005203.html | 128 +++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-June/005203.html (limited to 'zarb-ml/mageia-dev/2011-June/005203.html') diff --git a/zarb-ml/mageia-dev/2011-June/005203.html b/zarb-ml/mageia-dev/2011-June/005203.html new file mode 100644 index 000000000..419317528 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-June/005203.html @@ -0,0 +1,128 @@ + + + + [Mageia-dev] automatic chroot install using urpmi + + + + + + + + + +

[Mageia-dev] automatic chroot install using urpmi

+ Michael Scherer + misc at zarb.org +
+ Wed Jun 8 16:12:06 CEST 2011 +

+
+ +
Le mercredi 08 juin 2011 à 17:19 +0400, Vasiliy G Tolstov a écrit :
+> On Wed, 2011-06-08 at 16:26 +0400, Vasiliy G Tolstov wrote:
+> > On Wed, 2011-06-08 at 15:23 +0300, Thomas Backlund wrote:
+> > > Vasiliy G Tolstov skrev 8.6.2011 15:14:
+> > > > Hello. I'm glad to announce, that mageia linux is in testing mode on our
+> > > > cloud vps hosting (clodo.ru).
+> > > > After build image i have one question - is that possible to do fully
+> > > > automatic install with this script:
+> > > >
+> > > > #!/bin/bash
+> > > >
+> > > > export LC_ALL=C
+> > > >
+> > > > ROOT=$1
+> > > > ARCH=$2
+> > > > VERSION=$3
+> > > >
+> > > > mount -o bind /dev ${ROOT}/dev/
+> > > > mount -o bind /sys ${ROOT}/sys/
+> > > > mount -t proc none ${ROOT}/proc/
+> > > >
+> > > > if [ "x${ARCH}" != "xx86_64" ] ; then
+> > > >    ARCH="i586"
+> > > > fi
+> > > >
+> > > > urpmi.addmedia --urpmi-root ${ROOT} --distrib
+> > > > http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/${VERSION}/${ARCH}
+> > > > urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} basesystem
+> > > > urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} openssh-server
+> > > > ntpd
+> > > 
+> > > No need to make it 2 steps, you can push all in one go...
+> > > 
+> > > 
+> > > >
+> > > > One problem is: urpmi try to get answers for installing default init
+> > > > system, default boot loader and some other questions.... How can i avoid
+> > > > it to do full unattended install?
+> > > >
+> > > 
+> > > Either use --auto, or be specific (add all packages you get a question 
+> > > about):
+> > > urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} basesystem 
+> > > openssh-server ntpd grub sysvinit
+> > > 
+> > > And if you dont need the kernel, you can use basesystem-minimal and dont 
+> > > need to specify grub
+> > > 
+> > > --
+> > > Thomas
+> > 
+> > Thank's for answer. Very well. If i use basesystem-minimal and append
+> > grub systemd ntpd openssh-server and kernel, does that system can
+> > boot-up ?
+> > 
+> 
+> 
+> Hmm. I change cmd line to:
+> urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT}
+> basesystem-minimal openssh-server ntpd grub vim man rsyslog systemd
+> systemd-sysvinit
+> 
+> But basesystem-minimal depends of polkit-gnome, pinentry-gtk2 why? this
+> is server... Or i need many stuff from X to run software under server?
+
+Try with --no-suggests
+
+
+-- 
+Michael Scherer
+
+
+ + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1