blob: 6b76e57bb7380095b092530411b72d88e1b7c442 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
<!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=%3C1307535247.2802.2.camel%40vase%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="005210.html">
<LINK REL="Next" HREF="005199.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=%3C1307535247.2802.2.camel%40vase%3E"
TITLE="[Mageia-dev] automatic chroot install using urpmi">v.tolstov at selfip.ru
</A><BR>
<I>Wed Jun 8 14:14:06 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="005210.html">[Mageia-dev] Discrepancy between /etc/version and /etc/release - which one for MIRRORLIST
</A></li>
<LI>Next message: <A HREF="005199.html">[Mageia-dev] automatic chroot install using urpmi
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5198">[ date ]</a>
<a href="thread.html#5198">[ thread ]</a>
<a href="subject.html#5198">[ subject ]</a>
<a href="author.html#5198">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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
<A HREF="http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/${VERSION">http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/${VERSION</A>}/${ARCH}
urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} basesystem
urpmi -v --replacefiles --ignoresize --urpmi-root ${ROOT} openssh-server
ntpd
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?
--
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="005210.html">[Mageia-dev] Discrepancy between /etc/version and /etc/release - which one for MIRRORLIST
</A></li>
<LI>Next message: <A HREF="005199.html">[Mageia-dev] automatic chroot install using urpmi
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5198">[ date ]</a>
<a href="thread.html#5198">[ thread ]</a>
<a href="subject.html#5198">[ subject ]</a>
<a href="author.html#5198">[ 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>
|