FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-18-2009, 03:00 PM
Kaushal Shriyan
 
Default kickstart installation of Ubuntu Desktop

Hi,

Can i post my question in this mailing list about kickstart automated
installation of Ubuntu Desktop ?

Thanks,

Kaushal

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-19-2009, 03:16 AM
NoOp
 
Default kickstart installation of Ubuntu Desktop

On 11/18/2009 08:00 AM, Kaushal Shriyan wrote:
> Hi,
>
> Can i post my question in this mailing list about kickstart automated
> installation of Ubuntu Desktop ?
>
> Thanks,
>
> Kaushal
>

Sure. Also see:
https://help.ubuntu.com/community/KickstartCompatibility



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-19-2009, 04:07 AM
Kaushal Shriyan
 
Default kickstart installation of Ubuntu Desktop

On Thu, Nov 19, 2009 at 9:46 AM, NoOp <glgxg@sbcglobal.net> wrote:
> On 11/18/2009 08:00 AM, Kaushal Shriyan wrote:
>> Hi,
>>
>> Can i post my question in this mailing list about kickstart automated
>> installation of Ubuntu Desktop ?
>>
>> Thanks,
>>
>> Kaushal
>>
>
> Sure. Also see:
> https://help.ubuntu.com/community/KickstartCompatibility

Hi,

I have put the following under %post section in ks.cfg (kickstart.cfg file)

################################################## ###################
%post
cd /tmp
wget http://192.xxx.xxx.xxx/ocsinventory-agent.sh
sh /tmp/ocsinventory-agent.sh
wget http://192.xxx.xxx.xxx/ocsinventory-agent.cfg -O
/etc/ocsinventory/ocsinventory-agent.cfg -o /tmp/log


###contents of ocsinventory-agent.sh file#################
apt-get -y install ocsinventory-agent
################################################## ###################

when i run by hand while running the command apt-get install
ocsinventory-agent, It gives me a dialog window
saying

*http*
or
*local*

and the next screen in the dialog window says

server .............................................

How can i handle the above scenario in the automatically installation
of Ubuntu Desktop?

Please suggest/guide.

Thanks

Kaushal

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-19-2009, 07:17 AM
Michael Welle
 
Default kickstart installation of Ubuntu Desktop

Hi,

Kaushal Shriyan <kaushalshriyan@gmail.com> writes:
[...]
> ###contents of ocsinventory-agent.sh file#################
> apt-get -y install ocsinventory-agent
> ################################################## ###################
>
> when i run by hand while running the command apt-get install
> ocsinventory-agent, It gives me a dialog window
> saying
>
> *http*
> or
> *local*
>
> and the next screen in the dialog window says
>
> server .............................................
>
> How can i handle the above scenario in the automatically installation
> of Ubuntu Desktop?
have a look at the debconf documentation. Using environment variables
you can switch the installer frontend. In your application something
like

DEBIAN_FRONTEND=noninteractive
apt-get -y install ocsinventory-agent

might do the trick.

Regards
hmw

--
biff4emacsen - A biff-like tool for (X)Emacs
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html
Flood - Your friendly network packet generator
http://www.c0t0d0s0.de/flood/flood.html

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-19-2009, 01:36 PM
Kaushal Shriyan
 
Default kickstart installation of Ubuntu Desktop

On Thu, Nov 19, 2009 at 1:47 PM, Michael Welle <mwe012008@gmx.net> wrote:
> Hi,
>
> Kaushal Shriyan <kaushalshriyan@gmail.com> writes:
> [...]
>> ###contents of ocsinventory-agent.sh file#################
>> apt-get -y install ocsinventory-agent
>> ################################################## ###################
>>
>> when i run by hand while running the command apt-get install
>> ocsinventory-agent, It gives me a dialog window
>> saying
>>
>> *http*
>> * or
>> *local*
>>
>> and the next screen in the dialog window says
>>
>> server .............................................
>>
>> How can i handle the above scenario in the automatically installation
>> of Ubuntu Desktop?
> have a look at the debconf documentation. Using environment variables
> you can switch the installer frontend. In your application something
> like
>
> DEBIAN_FRONTEND=noninteractive
> apt-get -y install ocsinventory-agent
>

Hi hmw

I did added DEBIAN_FRONTEND=noninteractive apt-get install
ocsinventory-agent in the /tmp/ocsinventory-agent.sh script

################################################## ##################################################
%post
cd /tmp
wget http://192.xxx.xxx.xxx/ocsinventory-agent.sh
sh /tmp/ocsinventory-agent.sh
wget http://192.xxx.xxx.xxx/ocsinventory-agent.cfg -O
/etc/ocsinventory/ocsinventory-agent.cfg -o /tmp/log
################################################## ##################################################

The issue which i am facing is that the ocsinventory-agent package is
in the universe repository and not in main and restricted repository
and in my pxe-server setup i do not have universe repository and the
script /tmp/ocsinventory-agent.sh mentioned in the %post script
doesnot do its job correctly.
The CD ISO image do not have universe repository :-( Is there a way
to handle this situation?

Also if i install it via .deb packages, I face the issue of answering
it interactively for *http* and *server* values via the dialog window
which cannot be incorporated in the unattended/automatic kickstart
Ubuntu desktop installation.

Please suggest/guide.

Thanks,

Kaushal

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-19-2009, 04:48 PM
Michael Welle
 
Default kickstart installation of Ubuntu Desktop

Hi,

Kaushal Shriyan <kaushalshriyan@gmail.com> writes:

> On Thu, Nov 19, 2009 at 1:47 PM, Michael Welle <mwe012008@gmx.net> wrote:
[Performing unattended package installations]
> Hi hmw
>
> I did added DEBIAN_FRONTEND=noninteractive apt-get install
> ocsinventory-agent in the /tmp/ocsinventory-agent.sh script
>
> ################################################## ##################################################
> %post
> cd /tmp
> wget http://192.xxx.xxx.xxx/ocsinventory-agent.sh
> sh /tmp/ocsinventory-agent.sh
> wget http://192.xxx.xxx.xxx/ocsinventory-agent.cfg -O
> /etc/ocsinventory/ocsinventory-agent.cfg -o /tmp/log
> ################################################## ##################################################
>
> The issue which i am facing is that the ocsinventory-agent package is
> in the universe repository and not in main and restricted repository
> and in my pxe-server setup i do not have universe repository and the
> script /tmp/ocsinventory-agent.sh mentioned in the %post script
> doesnot do its job correctly.
> The CD ISO image do not have universe repository :-( Is there a way
> to handle this situation?
if your clients aren't allowed to suck the packages from an external
server you can build a mirror of the universe repository. Or you can
build your own repository containing only the missing packages. Or you
can just put the packages on a web-/ftp-/file-/whatever-server and suck
them from there and use dpkg for installation. The method you choose
depends mainly on the size of your infrastructure and the ratio of
comfort/work you want to gain.


> Also if i install it via .deb packages, I face the issue of answering
> it interactively for *http* and *server* values via the dialog window
> which cannot be incorporated in the unattended/automatic kickstart
> Ubuntu desktop installation.
Well, 'install via .deb packages' means that you use dpkg instead of the
apt-get based script shown in the previous posting? No problem, dpkg
respects changing of the frontend via environment variables, too.

I'm a little bit puzzled here. Is your trouble in getting the desired
software packages to the client or is the problem more related to
performing an unattended installation? Or both ?


Regards
hmw

--
biff4emacsen - A biff-like tool for (X)Emacs
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html
Flood - Your friendly network packet generator
http://www.c0t0d0s0.de/flood/flood.html

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-19-2009, 05:05 PM
Kaushal Shriyan
 
Default kickstart installation of Ubuntu Desktop

On Thu, Nov 19, 2009 at 11:18 PM, Michael Welle <mwe012008@gmx.net> wrote:
> Hi,
>
> Kaushal Shriyan <kaushalshriyan@gmail.com> writes:
>
>> On Thu, Nov 19, 2009 at 1:47 PM, Michael Welle <mwe012008@gmx.net> wrote:
> [Performing unattended package installations]
>> Hi hmw
>>
>> I did added DEBIAN_FRONTEND=noninteractive apt-get install
>> ocsinventory-agent in the /tmp/ocsinventory-agent.sh script
>>
>> ################################################## ##################################################
>> %post
>> cd /tmp
>> wget http://192.xxx.xxx.xxx/ocsinventory-agent.sh
>> sh /tmp/ocsinventory-agent.sh
>> wget http://192.xxx.xxx.xxx/ocsinventory-agent.cfg -O
>> /etc/ocsinventory/ocsinventory-agent.cfg -o /tmp/log
>> ################################################## ##################################################
>>
>> The issue which i am facing is that the ocsinventory-agent package is
>> in the universe repository and not in main and restricted repository
>> and in my pxe-server setup i do not have universe repository and the
>> script */tmp/ocsinventory-agent.sh mentioned in the %post script
>> doesnot do its job correctly.
>> The CD ISO image do not have universe repository :-( *Is there a way
>> to handle this situation?
> if your clients aren't allowed to suck the packages from an external
> server you can build a mirror of the universe repository. Or you can
> build your own repository containing only the missing packages.

Hi Again,

is there a way to mirror the universe repository into my pxe server
(http method) or
as you said to build my own repository containing the missing packages.
I could not understand it. Please brief me a liitle.

Thanks,

Kaushal

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-19-2009, 05:49 PM
Michael Welle
 
Default kickstart installation of Ubuntu Desktop

Hi,

Kaushal Shriyan <kaushalshriyan@gmail.com> writes:

> On Thu, Nov 19, 2009 at 11:18 PM, Michael Welle <mwe012008@gmx.net> wrote:
>> Hi,
>>
>> Kaushal Shriyan <kaushalshriyan@gmail.com> writes:
>>
>>> On Thu, Nov 19, 2009 at 1:47 PM, Michael Welle <mwe012008@gmx.net> wrote:
>> [Performing unattended package installations]
>>> Hi hmw
>>>
>>> I did added DEBIAN_FRONTEND=noninteractive apt-get install
>>> ocsinventory-agent in the /tmp/ocsinventory-agent.sh script
>>>
>>> ################################################## ##################################################
>>> %post
>>> cd /tmp
>>> wget http://192.xxx.xxx.xxx/ocsinventory-agent.sh
>>> sh /tmp/ocsinventory-agent.sh
>>> wget http://192.xxx.xxx.xxx/ocsinventory-agent.cfg -O
>>> /etc/ocsinventory/ocsinventory-agent.cfg -o /tmp/log
>>> ################################################## ##################################################
>>>
>>> The issue which i am facing is that the ocsinventory-agent package is
>>> in the universe repository and not in main and restricted repository
>>> and in my pxe-server setup i do not have universe repository and the
>>> script */tmp/ocsinventory-agent.sh mentioned in the %post script
>>> doesnot do its job correctly.
>>> The CD ISO image do not have universe repository :-( *Is there a way
>>> to handle this situation?
>> if your clients aren't allowed to suck the packages from an external
>> server you can build a mirror of the universe repository. Or you can
>> build your own repository containing only the missing packages.
>
> Hi Again,
>
> is there a way to mirror the universe repository into my pxe server
> (http method) or
> as you said to build my own repository containing the missing packages.
> I could not understand it. Please brief me a liitle.
a mirror is so to speak a local copy of one or more repositories from
the internet. There are tons of tools for creating a mirror. The package
named apt-mirror seems fairly simple to use. You just have to specify
which repositories from which servers you want to copy. But be prepared
that you have to download a few gigabytes (depending on which
repositories you choose) of packages if you run apt-mirror for the first
time. Then you can make the packages available via your local
webserver. And put the url into the source.list file on the client. This
method is preferable if you have lots of clients, because you generate
external traffic only once while building the mirror. Every client
installation only generates local traffic.

If you only have few clients and the ocs inventory agent (and its
dependencies) is the only package you need from the universe repository,
it might be easier to download the packages manually and put them on
your web- or file-server. Then you can download the packages with wget
or some other tool to your client and install them with dpkg. This
approach might be easier to implement than a full mirror. But you have
to resolve the dependencies between packages by hand. An extension to
this approach is a local repository. This repository behaves like
ordinary ubuntu repositories, you can use apt-get, aptitude etc. with
them. In short: you throw some .deb packages on a webserver and use
tools like dpkg-scanpackages to generate meta data like the Packages.gz
file. If you search for 'create own debian repository' you will find
dozens of howtos. It's no rocket science to build your own
repository. But you need to read a little bit and try the steps a few
times.

Regards
hmw

--
biff4emacsen - A biff-like tool for (X)Emacs
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html
Flood - Your friendly network packet generator
http://www.c0t0d0s0.de/flood/flood.html

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 11:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org