diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2011-June/005202.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-1be510f9529cb082f802408b472a77d074b394c0.tar archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2 archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz archives-1be510f9529cb082f802408b472a77d074b394c0.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2011-June/005202.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-June/005202.html | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-June/005202.html b/zarb-ml/mageia-dev/2011-June/005202.html new file mode 100644 index 000000000..d94bc0383 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-June/005202.html @@ -0,0 +1,127 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] automatic chroot install using urpmi + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20automatic%20chroot%20install%20using%20urpmi&In-Reply-To=%3C1307539172.2802.10.camel%40vase%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="005200.html"> + <LINK REL="Next" HREF="005203.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] automatic chroot install using urpmi</H1> + <B>Vasiliy G Tolstov</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20automatic%20chroot%20install%20using%20urpmi&In-Reply-To=%3C1307539172.2802.10.camel%40vase%3E" + TITLE="[Mageia-dev] automatic chroot install using urpmi">v.tolstov at selfip.ru + </A><BR> + <I>Wed Jun 8 15:19:32 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="005200.html">[Mageia-dev] automatic chroot install using urpmi +</A></li> + <LI>Next message: <A HREF="005203.html">[Mageia-dev] automatic chroot install using urpmi +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5202">[ date ]</a> + <a href="thread.html#5202">[ thread ]</a> + <a href="subject.html#5202">[ subject ]</a> + <a href="author.html#5202">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Wed, 2011-06-08 at 16:26 +0400, Vasiliy G Tolstov wrote: +><i> On Wed, 2011-06-08 at 15:23 +0300, Thomas Backlund wrote: +</I>><i> > Vasiliy G Tolstov skrev 8.6.2011 15:14: +</I>><i> > > Hello. I'm glad to announce, that mageia linux is in testing mode on our +</I>><i> > > cloud vps hosting (clodo.ru). +</I>><i> > > After build image i have one question - is that possible to do fully +</I>><i> > > automatic install with this script: +</I>><i> > > +</I>><i> > > #!/bin/bash +</I>><i> > > +</I>><i> > > export LC_ALL=C +</I>><i> > > +</I>><i> > > ROOT=$1 +</I>><i> > > ARCH=$2 +</I>><i> > > VERSION=$3 +</I>><i> > > +</I>><i> > > mount -o bind /dev ${ROOT}/dev/ +</I>><i> > > mount -o bind /sys ${ROOT}/sys/ +</I>><i> > > mount -t proc none ${ROOT}/proc/ +</I>><i> > > +</I>><i> > > if [ "x${ARCH}" != "xx86_64" ] ; then +</I>><i> > > ARCH="i586" +</I>><i> > > fi +</I>><i> > > +</I>><i> > > urpmi.addmedia --urpmi-root ${ROOT} --distrib +</I>><i> > > <A HREF="http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/${VERSION">http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/${VERSION</A>}/${ARCH} +</I>><i> > > urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} basesystem +</I>><i> > > urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} openssh-server +</I>><i> > > ntpd +</I>><i> > +</I>><i> > No need to make it 2 steps, you can push all in one go... +</I>><i> > +</I>><i> > +</I>><i> > > +</I>><i> > > One problem is: urpmi try to get answers for installing default init +</I>><i> > > system, default boot loader and some other questions.... How can i avoid +</I>><i> > > it to do full unattended install? +</I>><i> > > +</I>><i> > +</I>><i> > Either use --auto, or be specific (add all packages you get a question +</I>><i> > about): +</I>><i> > urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} basesystem +</I>><i> > openssh-server ntpd grub sysvinit +</I>><i> > +</I>><i> > And if you dont need the kernel, you can use basesystem-minimal and dont +</I>><i> > need to specify grub +</I>><i> > +</I>><i> > -- +</I>><i> > Thomas +</I>><i> +</I>><i> Thank's for answer. Very well. If i use basesystem-minimal and append +</I>><i> grub systemd ntpd openssh-server and kernel, does that system can +</I>><i> boot-up ? +</I>><i> +</I> + +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? + + + +-- +Vasiliy G Tolstov <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">v.tolstov at selfip.ru</A>> +Selfip.Ru + +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="005200.html">[Mageia-dev] automatic chroot install using urpmi +</A></li> + <LI>Next message: <A HREF="005203.html">[Mageia-dev] automatic chroot install using urpmi +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5202">[ date ]</a> + <a href="thread.html#5202">[ thread ]</a> + <a href="subject.html#5202">[ subject ]</a> + <a href="author.html#5202">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |