search for: late_command

Displaying 20 results from an estimated 28 matches for "late_command".

2013 Dec 19
1
Help with Ubuntu Preseed Repository for Puppet Open Source
Hi, I would like to set the puppet labs repository on my preseed ubuntu file. So far I think i can use only the* late_command* as a post installation process but wondering if there is another way of adding this repository. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet...
2010 Jul 16
4
Installping puppet with kickstart -- Cannot find local fact /proc/cpuinfo
...rts, certificates are pulled down and hadoop user is created and files are extracted. I want all the user creation etc to be done before the machine reboots so that I can set up init.d scripts to do a start of hadoop . So I run the puppetd --server ... --one-time --no-daemonize as part of the late_command with a chroot /target . But this fails saying cannot find local fact /proc/cpuinfo . I tried to a mount /proc in the script but the machine hangs. Is this a known problem http://groups.google.com/group/puppet-users/browse_thread/thread/b2e38f8ee8052b9c has a solution but it does not work ....
2016 Jul 09
2
IRC question about virt-builder ubuntu-* images
22:06 < adam12> rwmjones: If you're still around, just curious - any reason why the ubuntu14 image doesn't come with `dpkg-reconfigure openssh-server` already configured for firstboot? The reason is because I couldn't work out how to automate this in the preseed script. If you want to have a go, then see:
2016 Jul 12
1
Re: IRC question about virt-builder ubuntu-* images
...t; > preseed script. If you want to have a go, then see: > > > > https://github.com/libguestfs/libguestfs/blob/master/builder/website/ubuntu.sh > > https://github.com/libguestfs/libguestfs/blob/master/builder/website/ubuntu.preseed > > s.th. like > > d-i preseed/late_command string \ > in-target dpkg-reconfigure openssh-server; > > If you need special vealues before hand there's debconf-set-selection Thanks Guido (.. and long time, no see :-) I guess you noticed we are using your example for preseeding Debian images which was very helpful. The above...
2015 Jun 12
2
Clients unable to get group policy...
...your sysvol is on a shared folder which is a debian squeeze server. i think you problem is that the needed acl cant be set on the queeze server. and why not systemd, since gentoo also does systemd https://wiki.gentoo.org/wiki/Systemd and if you really want, just run your install with preseed/late_command="in-target apt-get install -y sysvinit-core" ( see https://wiki.debian.org/systemd#Installing_without_systemd ) I've a running debian jessie as fileserver, proxy server and mail server and im really happy with it. ( yes, with systemd ) much faster boot, well much faster whole os....
2012 Jul 31
11
$concat_basedir not defined
Hey folks, I am using puppet for some OpenStack deployments and on a new node things look pretty good right until after the successful reception of a cert from the puppet master. I get this error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: $concat_basedir not defined. Try running again with pluginsync enabled at
2016 Jul 12
0
Re: IRC question about virt-builder ubuntu-* images
...work out how to automate this in the > preseed script. If you want to have a go, then see: > > https://github.com/libguestfs/libguestfs/blob/master/builder/website/ubuntu.sh > https://github.com/libguestfs/libguestfs/blob/master/builder/website/ubuntu.preseed s.th. like d-i preseed/late_command string \ in-target dpkg-reconfigure openssh-server; If you need special vealues before hand there's debconf-set-selection Cheers, -- Guido > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > Read my programming and virtu...
2019 Nov 07
0
Re: Understanding the use of virt-install from the CLI (Linux)
...quot;1024" \ --vcpus "1" \ --disk "size=20,path=$HOME/.local/share/libvirt/images/debian10virt-install.qcow2,bus=scsi,cache=none,discard=unmap" \ --controller "type=scsi,model=virtio-scsi" \ --initrd-inject "preseed.cfg" \ --initrd-inject "late_command.sh" \ --location "http://deb.debian.org/debian/dists/buster/main/installer-amd64/" \ --os-type "linux" \ --os-variant "debian9" \ --virt-type "kvm" \ --controller "usb,model=none" \ --graphics "none" \ --network "us...
2014 Sep 23
0
[PATCH 07/13] syntax-check: fix prohibit_empty_lines_at_EOF check
...f79 100644 --- a/builder/website/ubuntu.preseed +++ b/builder/website/ubuntu.preseed @@ -373,4 +373,3 @@ xserver-xorg xserver-xorg/config/monitor/mode-list \ # directly, or use the apt-install and in-target commands to easily install # packages and run commands in the target system. #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh - diff --git a/guestfs-release-notes.txt b/guestfs-release-notes.txt index 1baa447..3eada81 100644 --- a/guestfs-release-notes.txt +++ b/guestfs-release-notes.txt @@ -3248,4 +3248,3 @@ BUGS * Run libguestfs-test-tool(1) and paste the compl...
2014 Sep 23
1
Re: [PATCH 07/13] syntax-check: fix prohibit_empty_lines_at_EOF check
...r/website/ubuntu.preseed > +++ b/builder/website/ubuntu.preseed > @@ -373,4 +373,3 @@ xserver-xorg xserver-xorg/config/monitor/mode-list > \ # directly, or use the apt-install and in-target commands to easily > install # packages and run commands in the target system. > #d-i preseed/late_command string apt-install zsh; in-target chsh -s > /bin/zsh > - This is harmless. > diff --git a/guestfs-release-notes.txt b/guestfs-release-notes.txt > index 1baa447..3eada81 100644 > --- a/guestfs-release-notes.txt > +++ b/guestfs-release-notes.txt > @@ -3248,4 +3248,3 @@ BUGS &gt...
2017 Aug 26
5
[PATCH 1/2] builder/templates/debian.preseed: enable serial console
...1f13eadbd 100644 --- a/builder/templates/debian.preseed +++ b/builder/templates/debian.preseed @@ -439,4 +439,5 @@ d-i finish-install/reboot_in_progress note # directly, or use the apt-install and in-target commands to easily install # packages and run commands in the target system. #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh +d-i preseed/late_command string in-target sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,115200n8"/g; s/# *GRUB_TERMINAL=console/GRUB_TERMINAL=serial/g' /etc/default/grub; in-target update-grub...
2013 Dec 11
29
[PATCH RFC V2 0/6] OSSTest: OVMF test job
RFC v2 of this series This series implements a basic test job for OVMF guest. The test case will install an OVMF guest and try to boot it. It is also possible to derive a debian HVM installation test case from ts-ovmf-debian-install - the only difference should be the BIOS option. I tested running the test script without specifying BIOS, it worked fine. I just didn''t figure out a
2015 Jun 15
2
Clients unable to get group policy...
...i.gentoo.org/wiki/Systemd > > Ah but Gentoo only does systemd if you want to, systemd is a cure > looking for a problem, or to put it another way, it is like using a > sledgehammer to crack a nut. > >> and if you really want, just run your install with >> >> preseed/late_command="in-target apt-get install -y sysvinit-core" >> ( see https://wiki.debian.org/systemd#Installing_without_systemd ) > > :-D :-D :-D ROFL ROFL > > Have you tried NOT using systemd on Jessie! > >> >> I've a running debian jessie as fileserver, proxy serv...
2019 Nov 07
4
Understanding the use of virt-install from the CLI (Linux)
Hello, I've created several VMs using virt-manager and am using them. This time around though, I'd like to use the CLI approach. The problem resides in defining a storage space. This is using virt-install 1.5.1 on Xubuntu 18.04. For the occasion I created a new directory to store images. So I specify this new directory: virt-install \ --name=arch01 \ --disk
2015 Jun 12
0
Clients unable to get group policy...
...lso does systemd > https://wiki.gentoo.org/wiki/Systemd Ah but Gentoo only does systemd if you want to, systemd is a cure looking for a problem, or to put it another way, it is like using a sledgehammer to crack a nut. > and if you really want, just run your install with > > preseed/late_command="in-target apt-get install -y sysvinit-core" > ( see https://wiki.debian.org/systemd#Installing_without_systemd ) :-D :-D :-D ROFL ROFL Have you tried NOT using systemd on Jessie! > > I've a running debian jessie as fileserver, proxy server and mail server and im really h...
2009 Feb 23
3
Require package not working as expected
I have the following as part of a module: -------------------------------------------------------------------------------- # Ensure "lsb-release" installed package {"lsb-release": ensure => installed, } # Use our sources.list file { "/etc/apt/sources.list": owner => root, group => root, mode =>
2015 Jun 30
2
Clients unable to get group policy...
...o only does systemd if you want to, systemd is a cure >>> looking for a problem, or to put it another way, it is like using a >>> sledgehammer to crack a nut. >>> >>>> and if you really want, just run your install with >>>> >>>> preseed/late_command="in-target apt-get install -y sysvinit-core" >>>> ( see https://wiki.debian.org/systemd#Installing_without_systemd ) >>> :-D :-D :-D ROFL ROFL >>> >>> Have you tried NOT using systemd on Jessie! >>> >>>> I've a running debia...
2015 Jun 30
0
Clients unable to get group policy...
...md >> Ah but Gentoo only does systemd if you want to, systemd is a cure >> looking for a problem, or to put it another way, it is like using a >> sledgehammer to crack a nut. >> >>> and if you really want, just run your install with >>> >>> preseed/late_command="in-target apt-get install -y sysvinit-core" >>> ( see https://wiki.debian.org/systemd#Installing_without_systemd ) >> :-D :-D :-D ROFL ROFL >> >> Have you tried NOT using systemd on Jessie! >> >>> I've a running debian jessie as fileserver,...
2010 Dec 15
4
ssh-import-id
Howdy, We in the Ubuntu Server world have been using a handy little shell utility for a couple of releases now, called 'ssh-import-id' [1]. Whereas ssh-copy-id _pushes_ a public key from one system to another, ssh-import-id _pulls_ a public key from a secure key server and installs it. It takes one or more userid's as command line arguments, loops over them, sequentially attempts to
2016 Jan 06
4
Empty (zero byte) SSH host keys
Hi, We create virtual machine image templates by doing automated minimal installations of different Linux distributions (via preseed/kickstarter/autoyast). At the end of the installation, we remove the SSH host keys (rm -f /etc/ssh/ssh*_key*). Fresh SSH host keys will be generated on the first boot of the image instances. This is done by adding a "dpkg-reconfigure openssh-server" call