AW: Error message after installing via fai-cd before reboot with UBUNTU
Thomas Lange
lange at informatik.uni-koeln.de
Tue Dec 2 10:10:59 CET 2014
>>>>> On Tue, 2 Dec 2014 07:59:47 +0000, Fabian Hartmann <fabian.hartmann at cloudguard.ch> said:
> And I remember to not have this problem in the beginning while working with an example disk_config from FAIBASE with a /tmp partition...
> So that could probably be causing the problem! Is it necessary to create a partition for /tmp or is there a work-around by hooking in another faiend-script?
You can write a hook that is called after task mountdisks,
mount a tmpfs on top of /target/tmp. That should do the trick.
/srv/fai/config/hooks/mountdisks.DEFAULT:
#! /bin/bash
mkdir -p $target/tmp
mount -t tmpfs tmpfs $target/tmp
--
regards Thomas
More information about the linux-fai
mailing list