• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. lebrun78
    3. Posts
    L
    • Profile
    • Following 1
    • Followers 1
    • Topics 54
    • Posts 315
    • Groups 0

    Posts

    Recent Best Controversial
    • inject windows key for more than hundred machines

      Hello,
      I have imagine contrat licence and I have a licence key for each machine.
      Could I inject via mysql the license keys list a text file.
      I have a look on the hosts tables, I didn’t see a column licence key.

      posted in General
      L
      lebrun78
    • RE: advices for compression choice

      @george1421
      Thanks George
      That 's just what I wanted to know

      posted in General
      L
      lebrun78
    • RE: advices for compression choice

      yes, but which are selection criterias ?

      posted in General
      L
      lebrun78
    • RE: Images and hosts properties losted when upgrade from 0.32 to 1.3.5

      @Tom-Elliott
      yes

      posted in FOG Problems
      L
      lebrun78
    • advices for compression choice

      Hello,
      In 1.3.5 we can choise to compress images.
      There a 2 compression programs, gzip or zsdt ?
      Could we have help to choice which format ?
      What are avantages of each one ?

      posted in General
      L
      lebrun78
    • RE: Images and hosts properties losted when upgrade from 0.32 to 1.3.5

      @Tom-Elliott
      You are right, I did not realize that this properties did not exist in 0.32

      posted in FOG Problems
      L
      lebrun78
    • RE: Images and hosts properties losted when upgrade from 0.32 to 1.3.5

      @Tom-Elliott
      No
      Hosts have always images associated. But I don’t have any property for image :
      size, os, type.
      May be it’s normal

      posted in FOG Problems
      L
      lebrun78
    • Images and hosts properties losted when upgrade from 0.32 to 1.3.5

      Hello,
      I have lost all the images properties and host properties since I upgraded from 0.32 to 1.3.5

      Could I generate this properties ?

      Server
      • FOG Version: 1.3.5
      • OS: centos 6.8
      Client
      • Service Version:
      • OS:
      Description
      posted in FOG Problems
      L
      lebrun78
    • RE: Is it possible to remove the FOG Quick image password?

      @lebrun78
      It works know without password.

      Here is the code I put in the deploymenu:

      #login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param hostname ${hostname}
      goto host_${hostname} || goto autres
      :host_room24PC1
      :host_room24PC2
      :host_room24PC3
      set username foo
      set password foo
      params
      param username foo
      param password foo
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      goto fin
      :autres
      login
      params
      param username ${username}
      param password ${password}
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :fin
      

      Could I limit access to an image or a short list of images with deployimage menu ?

      posted in FOG Problems
      L
      lebrun78
    • customise web interface
      Server
      • FOG Version: 1.3.4
      • OS: centos 6.8
      Client
      • Service Version:
      • OS:
      Description

      I have 2 servers, one for production, one for tests.
      Could I customize color of web interface of my test server, to identify it and avoid making errors on my production server ?

      posted in FOG Problems
      L
      lebrun78
    • RE: Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

      @george1421
      I had Pxelinux.0 in my dhcp, the new code replace it now.

      posted in FOG Problems
      L
      lebrun78
    • RE: Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

      @george1421
      since i added this code in my dhcpd.conf, it works.
      I added kernel panic without this options in my dhcpd.conf

      posted in FOG Problems
      L
      lebrun78
    • RE: Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

      Hello

      I add this code in my dhcpd.conf, and it works

      group {
      # Groupe pointant vers le pxe du nouveau serveur  Fog                                                                                                                                                                                                                           
              next-server 148.60.4.10;
      #        filename "pxelinux.0";                                                                                                                                                                                                                                                 
      #         filename "ipxe.efi";                                                                                                                                                                                                                                                  
      # next-server 148.60.15.121;                                                                                                                                                                                                                                                    
      class "Legacy" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
              filename "undionly.kkpxe";
          }
          class "UEFI-32-2" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
              filename "i386-efi/ipxe.efi";
          }
          class "UEFI-32-1" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
              filename "i386-efi/ipxe.efi";
          }
          class "UEFI-64-1" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
              filename "ipxe.efi";
          }
          class "UEFI-64-2" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
              filename "ipxe.efi";
          }
          class "UEFI-64-3" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
              filename "ipxe.efi";
          }
      
      posted in FOG Problems
      L
      lebrun78
    • Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
      Server
      • FOG Version: 1.3.4
      • OS: centos 6.8
      Client
      • Service Version:
      • OS: windows 7
      Description

      I upgraded my fog server yesterday from 0.32 to 1.3.4

      Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
      Kernel Offset: Disabled

      alt text

      I’ve upgraded the kernel, I get the same problem.
      I suppose it’s due to my particular nfs and ftp configuration ?

      posted in FOG Problems
      L
      lebrun78
    • RE: snappin doesn't work

      @Joe-Schmitt
      My cisf server is a samba server.
      How could it be accessible by a client system account ?

      posted in FOG Problems
      L
      lebrun78
    • RE: snappin doesn't work

      @Wayne-Workman
      I changed the account associated to fogesevrvice from local system account to install
      alt text

      posted in FOG Problems
      L
      lebrun78
    • RE: snappin doesn't work

      @Joe-Schmitt ght.
      I changed the user account joined to fogservice and it works now.
      Install is now the user account used by fogservice

      Thanks

      posted in FOG Problems
      L
      lebrun78
    • RE: snappin doesn't work

      Here is the power shell code.
      We have no domain

      param (
          [String] $programme
      )
      $user = "install"
      $pwd = "1234500000000000000000000000000000000000000000000000000000AAAA="
      $serveur = "\\fileserver.istic.univ-rennes1.fr\partage"
      $cert = $(Get-ChildItem cert:\CurrentUser\TrustedPublisher | where {$_.Subject -eq "CN=ISTIC/ESIR Signature"})
      $tab_key = @()
      foreach ($i in $cert.SerialNumber.ToCharArray()){$tab_key += [convert]::ToInt16($i,16)}
      $password = ConvertTo-SecureString -key $tab_key -string $pwd
      $credential = New-Object -TypeName system.management.Automation.PSCredential -ArgumentList $user, $password
      
      #net use p: $dossier_partage /p:n /u:$($credential.GetNetworkCredential().username) $($credential.GetNetworkCredential().password)
      if (!(Test-Path -Path p:)){
          $net = new-object -ComObject WScript.Network
          $net.MapNetworkDrive("p:", $serveur, $false, $credential.GetNetworkCredential().UserName,$credential.GetNetworkCredential().password)
      }
      
      #lorsque l'on lance un script powershell, si il y avait des espaces dans le nom, cela ne passait pas 
      #lorsque l'on faisait un start-process et ce nom en argument. Donc on utilise plutot le nom court
      $prog_court = (New-Object -ComObject Scripting.FileSystemObject).GetFile($programme).ShortPath
      					
          write-host "$(hostname):Dossier de l'installer $($dossier_installer)"
      	write-host ""
      	write-host "$(hostname):lancement de $($programme)"
          write-host "$(hostname):lancement de $($prog_court)"
      
      #start-process -FilePath $programme -wait -NoNewWindow
      $dossier_installer = $((get-item -path $programme).DirectoryName)
      
      if (!(Test-Path -Path "$dossier_installer\logs_fog_install")){New-Item -ItemType directory -Path "$dossier_installer\logs_fog_install"}
      $extension = (get-item -path $programme).Extension
      if ($extension -eq ".bat" -or $extension -eq ".cmd") {
      	#write-host "$env:COMPUTERNAME:C'est un script bat"
      	start-process -FilePath $prog_court -wait -NoNewWindow -RedirectStandardOutput ${dossier_installer}\logs_fog_install\${env:COMPUTERNAME}_log.txt -RedirectStandardError ${dossier_installer}\logs_fog_install\${env:COMPUTERNAME}_error.txt
      }
      if ($extension -eq ".ps1") {
      	#write-host "$env:COMPUTERNAME:C'est un script powershell"
      	$policy = Get-ExecutionPolicy
      	Set-ExecutionPolicy AllSigned
      	start-process -FilePath PowerShell -Arg $prog_court -wait -NoNewWindow -RedirectStandardOutput ${dossier_installer}\logs_fog_install\${env:COMPUTERNAME}_log.txt -RedirectStandardError ${dossier_installer}\logs_fog_install\${env:COMPUTERNAME}_error.txt
      	Set-ExecutionPolicy $policy
      }
      
      #net use p: /delete
      $net.RemoveNetworkDrive("p:")
      
      # SIG # Begin signature block
      # MIIECAYJKoZIhvcNAQcCoIID+TCCA/UCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
      # gjcCAQSgWzBZM888888888888888888888888888888888888888sITrck0sYpfvNR
      # AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUtCNKzTzpJy5lu9elxjbUrgg6
      # IN6gggIiMIICHjCCAYugAwIBAgIQ1lzBhsDQvaJIVRttke8WMjAJBgUrDgMCHQUA
      # MBwxGjAYBgNVBA0000000000000000000000000000000MDEyMDE0NDkzMloX
      # DTM5MTIzMTIzNTk1OVowHzEdMBsGA1UEAxMUSVNUSUMvRVNJUiBTaWduYXR1cmUw
      # gZ8wDQY555555555555555555555555555555555555555555555555555555eWWBCfR
      # uEdEBxWynlykfLTyteMRiJO3TywGgvhoGX0V+hZpUBeqQLD7q3Qs0npuhWr9COSt
      Insert Code Here
      
      posted in FOG Problems
      L
      lebrun78
    • RE: snappin doesn't work

      here is this extract of windows powershell log in windows events viewer
      1st run by snap in:
      alt text

      2nd by manual command line that works:
      alt text

      I don’t understand !

      Witch trigger mark snapin task ended in web console ?

      posted in FOG Problems
      L
      lebrun78
    • RE: snappin doesn't work

      fog_inst_office2010.ps1 is a script to mount p: with authentication and call a bat script

      posted in FOG Problems
      L
      lebrun78
    • 1 / 1