summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-June/005199.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-June/005199.html')
-rw-r--r--zarb-ml/mageia-dev/2011-June/005199.html104
1 files changed, 104 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-June/005199.html b/zarb-ml/mageia-dev/2011-June/005199.html
new file mode 100644
index 000000000..27536fb86
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-June/005199.html
@@ -0,0 +1,104 @@
+<!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=%3C4DEF69A8.8040908%40mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="005198.html">
+ <LINK REL="Next" HREF="005200.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] automatic chroot install using urpmi</H1>
+ <B>Thomas Backlund</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20automatic%20chroot%20install%20using%20urpmi&In-Reply-To=%3C4DEF69A8.8040908%40mageia.org%3E"
+ TITLE="[Mageia-dev] automatic chroot install using urpmi">tmb at mageia.org
+ </A><BR>
+ <I>Wed Jun 8 14:23:04 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="005198.html">[Mageia-dev] automatic chroot install using urpmi
+</A></li>
+ <LI>Next message: <A HREF="005200.html">[Mageia-dev] automatic chroot install using urpmi
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5199">[ date ]</a>
+ <a href="thread.html#5199">[ thread ]</a>
+ <a href="subject.html#5199">[ subject ]</a>
+ <a href="author.html#5199">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Vasiliy G Tolstov skrev 8.6.2011 15:14:
+&gt;<i> Hello. I'm glad to announce, that mageia linux is in testing mode on our
+</I>&gt;<i> cloud vps hosting (clodo.ru).
+</I>&gt;<i> After build image i have one question - is that possible to do fully
+</I>&gt;<i> automatic install with this script:
+</I>&gt;<i>
+</I>&gt;<i> #!/bin/bash
+</I>&gt;<i>
+</I>&gt;<i> export LC_ALL=C
+</I>&gt;<i>
+</I>&gt;<i> ROOT=$1
+</I>&gt;<i> ARCH=$2
+</I>&gt;<i> VERSION=$3
+</I>&gt;<i>
+</I>&gt;<i> mount -o bind /dev ${ROOT}/dev/
+</I>&gt;<i> mount -o bind /sys ${ROOT}/sys/
+</I>&gt;<i> mount -t proc none ${ROOT}/proc/
+</I>&gt;<i>
+</I>&gt;<i> if [ &quot;x${ARCH}&quot; != &quot;xx86_64&quot; ] ; then
+</I>&gt;<i> ARCH=&quot;i586&quot;
+</I>&gt;<i> fi
+</I>&gt;<i>
+</I>&gt;<i> urpmi.addmedia --urpmi-root ${ROOT} --distrib
+</I>&gt;<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>&gt;<i> urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} basesystem
+</I>&gt;<i> urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} openssh-server
+</I>&gt;<i> ntpd
+</I>
+No need to make it 2 steps, you can push all in one go...
+
+
+&gt;<i>
+</I>&gt;<i> One problem is: urpmi try to get answers for installing default init
+</I>&gt;<i> system, default boot loader and some other questions.... How can i avoid
+</I>&gt;<i> it to do full unattended install?
+</I>&gt;<i>
+</I>
+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
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="005198.html">[Mageia-dev] automatic chroot install using urpmi
+</A></li>
+ <LI>Next message: <A HREF="005200.html">[Mageia-dev] automatic chroot install using urpmi
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#5199">[ date ]</a>
+ <a href="thread.html#5199">[ thread ]</a>
+ <a href="subject.html#5199">[ subject ]</a>
+ <a href="author.html#5199">[ 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>