I have tried both with and without updates on Debian 7.
Latest posts made by Cory Landry
-
RE: Latest Development FOG
-
RE: Latest Development FOG
Correct none of the required packages got installed via the script.
-
RE: Latest Development FOG
Just to add on to ArchFan’s error:
Revision 2457
Debian 7
Nothing but ssh and subversion was installed prior to FOG[CODE]
- Skipping package: apache2 (Already installed)
- Skipping package: php5 (Already installed)
- Installing package: php5-common
- Skipping package: php5-gd (Already installed)
- Skipping package: php5-cli (Already installed)
- Skipping package: php5-mysql (Already installed)
- Skipping package: php5-curl (Already installed)
- Skipping package: mysql-server (Already installed)
- Skipping package: mysql-client (Already installed)
- Skipping package: isc-dhcp-server (Already installed)
- Skipping package: tftpd-hpa (Already installed)
- Skipping package: tftp-hpa (Already installed)
- Skipping package: nfs-kernel-server (Already installed)
- Skipping package: vsftpd (Already installed)
- Skipping package: net-tools (Already installed)
- Skipping package: wget (Already installed)
- Skipping package: xinetd (Already installed)
- Skipping package: sysv-rc-conf (Already installed)
- Skipping package: tar (Already installed)
- Skipping package: gzip (Already installed)
- Skipping package: build-essential (Already installed)
- Skipping package: cpp (Already installed)
- Skipping package: gcc (Already installed)
- Skipping package: g++ (Already installed)
- Skipping package: m4 (Already installed)
- Skipping package: htmldoc (Already installed)
- Skipping package: lftp (Already installed)
- Skipping package: openssh-server (Already installed)
- Skipping package: php-gettext (Already installed)
Confirming package installation.
- Checking package: apache2…OK
- Checking package: php5…OK
- Checking package: php5-json…OK
- Checking package: php5-gd…OK
- Checking package: php5-cli…OK
- Checking package: php5-mysql…OK
- Checking package: php5-curl…OK
- Checking package: mysql-server…OK
- Checking package: mysql-client…OK
- Checking package: isc-dhcp-server…OK
- Checking package: tftpd-hpa…OK
- Checking package: tftp-hpa…OK
- Checking package: nfs-kernel-server…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: sysv-rc-conf…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: build-essential…OK
- Checking package: cpp…OK
- Checking package: gcc…OK
- Checking package: g++…OK
- Checking package: m4…OK
- Checking package: htmldoc…OK
- Checking package: lftp…OK
- Checking package: openssh-server…OK
- Checking package: php-gettext…OK
Configuring services.
What is the storage location for your images directory? (/images)
- Setting up fog user…OK
- Setting up and starting MySql…Failed!
root@FOG-2:/opt/freeghost-code/bin# mysql
-bash: mysql: command not found
[/CODE]--------edit---------
After installing the packages through apt: [CODE]apt-get install apache2 php5 php5-json php5-gd php5-cli php5-mysql php5-curl mysql-server mysql-client isc-dhcp-server tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext[/CODE] the installation completed normally.
-
RE: MAC address as host name - auto populate, etc.
We implemented this last year so some of the information may have been changed with out being documented, but this is the script we used. Keep in mind this only updates the description in AD not on the computer itself.
You also have to change ad permissions.
Open ADUC
Right click on domain select properties -> security -> advanced -> add
Type Authenticated Users -> OK -> properties
Change [U]Apply to:[/U] to [U]Descendant Computer Objects[/U] and allow Write Description[CODE]DIM objSysInfo, objWMI, objComputer
SET objWMI = GetObject(“winmgmts:{impersonationLevel=impersonate}!\.\root\cimv2”)'Get OU
SET objSysInfo=createobject(“adsysteminfo”)'Set computer description; will not update field if description is current or if it starts with an “!”
FOR EACH objSMBIOS IN objWMI.ExecQuery(“Select * from Win32_SystemEnclosure”)
serviceTag = replace(objSMBIOS.SerialNumber, “,”, “.”)
manufacturer = replace(objSMBIOS.Manufacturer, “,”, “.”)
NEXT
FOR EACH objComputer IN objWMI.ExecQuery(“Select * from Win32_ComputerSystem”)
model = trim(replace(objComputer.Model, “,”, “.”))
NEXT
SET objComputer = GetObject(“LDAP://” & objSysInfo.ComputerName)
newDescription = “(” & serviceTag & " / " & model & “)”
IF NOT objComputer.Description = newDescription AND NOT left(objComputer.Description,1) = “!” THEN
objComputer.Description = newDescription
objComputer.SetInfo
END IF[/CODE]