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!
On Ma, 21 ian 14, 15:27:00, Bob Proulx wrote:
The above may have had some mailer munging. I see two simple typos.
The '' is special to sed and is lost in the resulting line. It needs
to be escaped with \. Also not a problem but since '/' is avoided as
the sed substitute character it means
On Lu, 20 ian 14, 18:09:59, Todd Maurice wrote:
I have been using Hello World script to reduce problems that might
arise from using a complex script but later I would like to use this
setup for autologin.
Uhh, another case of XY problem
Andrei POPESCU wrote:
Todd Maurice wrote:
I have been using Hello World script to reduce problems that might
arise from using a complex script but later I would like to use this
setup for autologin.
Uhh, another case of XY problem
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_command
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.
Todd Maurice wrote:
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.
Sounds good. Many of us do this all of the time. Works.
I would like to configure preseed in such way that it accomplishes
On Mon, Jan 20, 2014 at 9:23 AM, Bob Proulx b...@proulx.com wrote:
Todd Maurice wrote:
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.
Sounds good. Many of us do this all of the time.
Todd Maurice wrote:
#!/bin/bash
echo Hello World
That output show should up in vt 4. Use Alt-F4 at installation time
to see the output there.
I would make the output more visible. I would make it LOUD.
#!/bin/bash
echo
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
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 wget
Todd Maurice wrote:
d-i preseed/late_command string wget -O/target/var/tmp/bootstrap
http://file; in-target sh /var/tmp/bootstrap
The example I gave was verbatim what I am using and is what works for me.
The above uses a different URL and one that doesn't look valid to
me. Is that a literal
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
Todd Maurice wrote:
I was able to find the solution (for now).
The problem was that the directory was not set correctly. /usr/ won't work
but /home/user will.
However this solution is no explanation. I wouldn't want to clone
into /usr anyway and so think /home/something is better. But
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
2014/1/8 Todd Maurice toddmaur...@outlook.com
I'm working on i386, Debian testing net install, in VirtualBox, through
auto url=.
clone https://github.com/project
git clone https://github.com/project
--
Eero
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
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/?
Todd Maurice wrote:
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/?
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 folder
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
On 1/9/14, Todd Maurice toddmaur...@outlook.com wrote:
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 do the following.
***apt-get update
**apt-get
22 matches
Mail list logo