RE: Alias setup through preseed in Wheezy

2014-01-23 Thread Todd Maurice
all. User logs on, script starts. No typing. Like you have "Start softwareX when Windows starts" option in that OS. > Date: Thu, 23 Jan 2014 11:13:46 -0700 > From: jr...@salford-systems.com > To: debian-user@lists.debian.org > Subject: Re: Alias setup through preseed in Whe

Alias setup through preseed in Wheezy

2014-01-23 Thread Todd Maurice
1. I would like to set d-i preseed/late_command in such way that a line containing alias instructions would get added to ~/.bashrc. That way alias would be active when I first login after the installation (typing 'myalias' would start script1). I tried d-i preseed/late_command string in-target

RE: Including git commands in preseed

2014-01-23 Thread Todd Maurice
d-i preseed/late_command string in-target sed -i 's,1:2345:respawn:/sbin/getty .*tty1 *$,1:2345:respawn:/sbin/getty -a user 38400 tty1,' /etc/inittab; Works like a charm on Wheezy! Thank you everybody and a special thanks to Bob for the working code!

RE: Including git commands in preseed

2014-01-20 Thread Todd Maurice
> What does that mean to you? Do you mean when you log into the system > at the login prompt? That is confusingly written but that is how I > translate it when I read it. If so then that is NOT what late_command > does. It will NEVER do what you are asking because that is not what > late_comman

RE: Including git commands in preseed

2014-01-19 Thread Todd Maurice
Hm, it seems I haven't clearly clarified what I want to do. I'm using preseed file (through "auto url=" option) to install Debian Jessie in a VM. I would like to configure preseed in such way that it accomplishes two things. 1. It downloads a script from github (we figured out that part) 2. Sta

RE: Including git commands in preseed

2014-01-17 Thread Todd Maurice
Sorry for the confusion, http://file indicates the actual URL fo the file. My simple test script is located at https://raw.github.com/drgdel/a/master/1 Content: #!/bin/bash echo Hello World Preseed entry take 1: d-i preseed/late_command string in-target wget -O /var/tmp/hello https://raw.github

RE: Setting up automatic logon after installation.

2014-01-16 Thread Todd Maurice
Just something I found on the internet Brian. Thanks for the hint Andrei! It seems you need to edit inittab, comment out #1:2345:respawn:/sbin/getty 38400 tty1 and add 1:2345:respawn:/bin/login -f username tty1 /dev/tty1 2>&1 sudo nano /etc/inittab #1:2345:respawn:/sbin/getty 38400 tty1 1:234

RE: Including git commands in preseed

2014-01-16 Thread Todd Maurice
Thanks for the detailed answer Bob. I tried different things gathered from the Internet, even copying your exact command, but to no avail. "d-i preseed/late_command string wget -O/target/var/tmp/bootstrap http://file; in-target sh /var/tmp/bootstrap" Error 127. I believe the problem is that wge

Setting up automatic logon after installation.

2014-01-15 Thread Todd Maurice
I want to install Debian in such a way that the system will automatically login (not requiring of me to enter username and password)) as user when the installation is finished. I'm installing a pretty bare system with netinst, no DE, no X manager, just CLI, with nothing selected at taskel in pr

RE: Including git commands in preseed

2014-01-10 Thread Todd Maurice
I have included git install in the preseed (d-i pkgsel/include string git). After I log on, running "git" offers a list of available git commands (bisect, branch,.tag) so the installation that way is successful. I was able to find the solution (for now). The problem was that the directory w

RE: Including git commands in preseed

2014-01-09 Thread Todd Maurice
OK, new problem. If choose to install in user (/usr/ or /user/ as opposed to /root/) no directory is created. Command used: d-i preseed/late_command string in-target git clone https://github.com/project /usr/project Any idea how to make the cloning work in /usr/?

RE: Including git commands in preseed

2014-01-09 Thread Todd Maurice
For whatever reason "d-i preseed/late_command string in-target git clone https://github.com/adrelanos/Whonix";, like Eero suggested, doesn't work. No folder is created. I did find the solution though. You need to set the target directory and it works then. d-i preseed/late_command string in-tar

RE: Including git commands in preseed

2014-01-09 Thread Todd Maurice
Thank you Zenaan for the link. You are right, I am very inexperienced when it comes to git however the command used with the preseed was "git clone https://github.com/project"; (d-i preseed/late_command string in-target git clone https://github.com/project). I just forgot to type it in the em

RE: Including git commands in preseed

2014-01-08 Thread Todd Maurice
Some text was missing in the previous message, sorry about that. --- I'm working on i386, Debian testing net install, in VirtualBox, through "auto url=". I would like for the preseed to

Including git commands in preseed

2014-01-08 Thread Todd Maurice
I'm working on i386, Debian testing net install, in VirtualBox, through "auto url=". I would like for the preseed to do the following. apt-get update && apt-get dist-upgrade -y clone https://github.com/project cd /folder/ git checkout project I tried this scheme but when I logon there is no fol

Can't set hostname through preseed.cfg in Weezy

2013-12-27 Thread Todd Maurice
I am installing Debain Stable/Weezy (netinstall) in VirtualBOX using preseed.cfg on a i386 host and I am having a few problems. 1. Software deselection What is the correct command for no installed packages (bare CLI)? tasksel tasksel/first multiselect none -or- tasksel tasksel/first multisel