Hello,
thank you for your very good job.
It’s not really a new functionality.
Can you change the color of icon “upload” ? (for example red for warning).
Because some users click on the “upload” icon by mistake and the master is destroyed.
Posts made by jc35
-
change color of icon "upload"
-
RE: FOG Sql
Hello,
Why when I delete a hots on fog 1.2.0 in GUI, all the table with a hosts are not delete ?
For example in table inventory when a host is delete, this is not delete in the inventory table and another table why ?
I think when a host is deleted, the host must be deleted in the following table :
hosts, hostmac, greenfog, groupmembers, hostautologout, hostscreensetting, inventory, modulestatusbyhosts, nfsfailures, pendingmacs, printerassoc, sheduledTasks,snapinassoc, snapinjob, usertracking, imaginlog.We delete a host with a script python with with url : “http://localhost/fog/management/index.php?node=host&sub=delete&id=%s”
Where “%s” is a hostid.Sorry for my bad english.
-
RE: FOG With BASH
@Wayne-Workman said:
Do you have FOG 1.2.0 working? It can do all these things already.
Yes we have FOG 1.2.0 working.Why do you want bash commands for those things?
We need to automate some actions. We use glpi and rabbit mq.
when we put a machine discarded with glpi, rabbit mq send to fog " a wipe and imaging and delete a machine." -
RE: Init for each machine
[quote=“Junkhacker, post: 38615, member: 21583”]what problem with the init file have you had with some hosts?
if there are problems with the init, we want to know about them
also, what do you customize in init that can’t be done with postdownloadscripts and/or you wouldn’t want for all of your hosts?
[SIZE=2](fyi, you could put these [/SIZE]customizations [SIZE=2]in the init, and activate them on specific hosts with kernel arguments)[/SIZE][/quote]
We have 3 images:- windows 7 : os=windows 7 (5), image type = single Disk - Resizable (1)
- Windows xp : os=Windows 2000/XP -(1), image type= single Disk - Resizable (1)
- Linux : os=Linux - (50), image type = Multiple Partition Image - single Disk (Not resizable) - (2)
On optiplex 7010, all images works fine.
On optiplex 755, we have a problem with windows xp :
message on partclone:
device (/dev/sda1) is mounted at
Error exit
After in shell, we have the next message :
Error /dev/sda1 : No such file or directory
- Not expanding (/dev/sda1 imager) … done
Then we imaging with init 1.1.0, we don’t have this problem.
For customizing, yes since 1.2.0, we can customize with postdownloadscript, by the way we just switch the scripts. It’s fine.
Best regards,
Thanks for your very good jobs.
-
RE: Init for each machine
We are currently exploiting FOG 1.2.0,and we come up with a problem with the .init file for some of our hosts. As a solution, we thought of re-use the previous version (1.1.1) of the .init file for these particular host, in order to go on testing, without the hassle of putting off the rest of the hosts. Also, sometimes we customize the init.
Best regards,
-
Init for each machine
Hello,
I would like to have a field to set an init for a machine as the kernel.
Best regards,
-
RE: Can't deploy ubuntu 14.04
[quote=“jc35, post: 38362, member: 26878”]Hello,
I forget to tell we are on fog 1.2.0, and it’s install on debian 7.[/quote]
[quote=“jc35, post: 38318, member: 26878”]Hello,
I have install an ubuntu as :
sda1-> ext4 -> /
sda2->swap
sda3->extented
sda5->ext4 -> /home
In fog, I create image as :
storage group : default
os : Linux - (50)
Image type: Multiple partition image - Single disk (Not Resizable) - (2)The upload is crate with success. The list of file create in the directory “ubnutulinux”:
-rwxrwxrwx 1 fog fog 0 Oct 14 09:43 d1.has_grub
-rwxrwxrwx 1 fog fog 1048064 Oct 14 09:43 d1.mbr
-rwxrwxrwx 1 fog fog 1760120964 Oct 14 09:54 d1p1.img
-rwxrwxrwx 1 fog fog 536891640 Oct 14 09:56 d1p2.img
-rwxrwxrwx 1 fog fog 220 Oct 14 09:56 d1p3.img
-rwxrwxrwx 1 fog fog 29377975 Oct 14 09:57 d1p5.img
-rwxrwxrwx 1 fog fog 310 Oct 14 09:43 d1.partitions
When I launch a restorattion, I have the following message :Erasing Current MBR/GPT Tables …EBR signature for logical partition invalid; read 0xBBB6, but should be 0xAA55
Error reading logical partitions! List May be truncated!
Done- Restoring MBR and GRUB…Done
- Extended partitions…Done
- Checking Hard Disks…Done
- Restore Linux swap partitions:
Ignoring extra data in partition table 5.
Ignoring extra data in partition table 5.
Failed to read extented partition table (offset=1569365245): Invalid argument - Restoring partition: /dev/sda2
- Changing hostname…Done
- Updating Computer Database Status
- Database Updated!
/usr/share/fog/lib/funcs.sh: line 12: export root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap=fr-latin9 web=192.168.1.10/fog consoleblank=0 loglevel=4 mac=12:34:56:78:90:aa ftp=192.168.1.10
storage=192.168.1.10:/clonages/images/ storageip=192.168.1.10 web=192.168.1.10/fog osid=50 loglevel=4 consoleblank=0 irqpoll hostname=mypc chkdsk=0 img=ubuntulinux imgtype=mps imgid=71 imgFormat= PIGZ_COMP=-9
adon=1 addomain=mydomain adou=myou aduser= adpass= hostearly=1 type=down mode=debug: No such file or directory
debug: Script fog systype= Type: Space-savingThanks for your help.
JC[/quote]I try with 3 primary partitions, and it’s works.
-
RE: Can't deploy ubuntu 14.04
Hello,
[quote=“jc35, post: 38318, member: 26878”]Hello,
I have install an ubuntu as :
sda1-> ext4 -> /
sda2->swap
sda3->extented
sda5->ext4 -> /home
In fog, I create image as :
storage group : default
os : Linux - (50)
Image type: Multiple partition image - Single disk (Not Resizable) - (2)The upload is crate with success. The list of file create in the directory “ubnutulinux”:
-rwxrwxrwx 1 fog fog 0 Oct 14 09:43 d1.has_grub
-rwxrwxrwx 1 fog fog 1048064 Oct 14 09:43 d1.mbr
-rwxrwxrwx 1 fog fog 1760120964 Oct 14 09:54 d1p1.img
-rwxrwxrwx 1 fog fog 536891640 Oct 14 09:56 d1p2.img
-rwxrwxrwx 1 fog fog 220 Oct 14 09:56 d1p3.img
-rwxrwxrwx 1 fog fog 29377975 Oct 14 09:57 d1p5.img
-rwxrwxrwx 1 fog fog 310 Oct 14 09:43 d1.partitions
When I launch a restorattion, I have the following message :Erasing Current MBR/GPT Tables …EBR signature for logical partition invalid; read 0xBBB6, but should be 0xAA55
Error reading logical partitions! List May be truncated!
Done- Restoring MBR and GRUB…Done
- Extended partitions…Done
- Checking Hard Disks…Done
- Restore Linux swap partitions:
Ignoring extra data in partition table 5.
Ignoring extra data in partition table 5.
Failed to read extented partition table (offset=1569365245): Invalid argument - Restoring partition: /dev/sda2
- Changing hostname…Done
- Updating Computer Database Status
- Database Updated!
/usr/share/fog/lib/funcs.sh: line 12: export root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap=fr-latin9 web=192.168.1.10/fog consoleblank=0 loglevel=4 mac=12:34:56:78:90:aa ftp=192.168.1.10
storage=192.168.1.10:/clonages/images/ storageip=192.168.1.10 web=192.168.1.10/fog osid=50 loglevel=4 consoleblank=0 irqpoll hostname=mypc chkdsk=0 img=ubuntulinux imgtype=mps imgid=71 imgFormat= PIGZ_COMP=-9
adon=1 addomain=mydomain adou=myou aduser= adpass= hostearly=1 type=down mode=debug: No such file or directory
debug: Script fog systype= Type: Space-savingThanks for your help.
JC[/quote]
I forget to tell we are on fog 1.2.0, and it’s install on debian 7. -
Can't deploy ubuntu 14.04
Hello,
I have install an ubuntu as :
sda1-> ext4 -> /
sda2->swap
sda3->extented
sda5->ext4 -> /home
In fog, I create image as :
storage group : default
os : Linux - (50)
Image type: Multiple partition image - Single disk (Not Resizable) - (2)The upload is crate with success. The list of file create in the directory “ubnutulinux”:
-rwxrwxrwx 1 fog fog 0 Oct 14 09:43 d1.has_grub
-rwxrwxrwx 1 fog fog 1048064 Oct 14 09:43 d1.mbr
-rwxrwxrwx 1 fog fog 1760120964 Oct 14 09:54 d1p1.img
-rwxrwxrwx 1 fog fog 536891640 Oct 14 09:56 d1p2.img
-rwxrwxrwx 1 fog fog 220 Oct 14 09:56 d1p3.img
-rwxrwxrwx 1 fog fog 29377975 Oct 14 09:57 d1p5.img
-rwxrwxrwx 1 fog fog 310 Oct 14 09:43 d1.partitions
When I launch a restorattion, I have the following message :Erasing Current MBR/GPT Tables …EBR signature for logical partition invalid; read 0xBBB6, but should be 0xAA55
Error reading logical partitions! List May be truncated!
Done- Restoring MBR and GRUB…Done
- Extended partitions…Done
- Checking Hard Disks…Done
- Restore Linux swap partitions:
Ignoring extra data in partition table 5.
Ignoring extra data in partition table 5.
Failed to read extented partition table (offset=1569365245): Invalid argument
* Restoring partition: /dev/sda2 - Changing hostname…Done
- Updating Computer Database Status
- Database Updated!
/usr/share/fog/lib/funcs.sh: line 12: export root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap=fr-latin9 web=192.168.1.10/fog consoleblank=0 loglevel=4 mac=12:34:56:78:90:aa ftp=192.168.1.10
storage=192.168.1.10:/clonages/images/ storageip=192.168.1.10 web=192.168.1.10/fog osid=50 loglevel=4 consoleblank=0 irqpoll hostname=mypc chkdsk=0 img=ubuntulinux imgtype=mps imgid=71 imgFormat= PIGZ_COMP=-9
adon=1 addomain=mydomain adou=myou aduser= adpass= hostearly=1 type=down mode=debug: No such file or directory
debug: Script fog systype= Type: Space-savingThanks for your help.
JC