ok @george1421 so i put it under the http dir
/var/www/html/fog/centos7.ks.cfg
but ${fog-ip} means the above doesnt it?
ok @george1421 so i put it under the http dir
/var/www/html/fog/centos7.ks.cfg
but ${fog-ip} means the above doesnt it?
oh no sorry @george1421, im not using ftp im using what you said in the how to, im just wondering where i should put the KS line in -
kernel tftp://${fog-ip}/os/centos/7/vmlinuz
initrd tftp://${fog-ip}/os/centos/7/initrd.img
imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}:/images/os/centos/7/LiveOS/squashfs.img ip=dhcp inst.repo=nfs:${fog-ip}:/images/os/centos/7 splash quiet
KS=
boot || goto MENU
you append it to the last line, found it here
default menu.c32
prompt 0
timeout 30
menu title Homelab PXE Menu
label Install CentOS 7 Server
kernel /networkboot/CentOS7/vmlinuz
append initrd=/networkboot/CentOS7/initrd.img inst.repo=ftp://10.11.1.20/pub/pxe/CentOS7 ks=ftp://10.11.1.20/pub/pxe/centos7-ks.cfg
hi all,
following this great how to guide by @george1421 about how to make a centos 7 ipxe menu
but where do i put my kickstart line in
kernel tftp://${fog-ip}/os/centos/7/vmlinuz
initrd tftp://${fog-ip}/os/centos/7/initrd.img
imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}:/images/os/centos/7/LiveOS/squashfs.img ip=dhcp inst.repo=nfs:${fog-ip}:/images/os/centos/7 splash quiet
boot || goto MENU
do i append it after the “imgargs” and before the “root=”?
thanks,
rob
@jj-fullmer thank you guys so much for all your help in this
when you say it can capture from a nvme drive, can it deploy an image to an nvme drive that was captured from a standard SATA
@sebastian-roth thanks a lot
but v1.5.9 can handle nvme drives cant it?
i will close this case as i should had run “certstat” on the culprit machine and then i could had done more troubleshooting on it
and also the cmos battery was dead on this machine as it kept on saying the real time clock was out so this would have been another factor why the ipxe didnt work as its using a self signed cert https
my bad guys but thanks so much for all your input
ok, ive found the wiki on this
https://wiki.fogproject.org/wiki/index.php?title=HTTPS
where would this location be on my server
fogproject/bin/error_logs/
@sebastian-roth where would i find if i have https enabled on the fog server please?
do you think instead of using a self signed ssl cert i should use a wildcard public one, as i do have one
and then put my cert and private key here, replacing the self signed one
/etc/httpd/conf.d/ssl.conf
if so where else would i need to change it, so fog uses my fqdn instead of my ip
heres a vm that network boots (also laptops hp 840 g3 are good but atm i have no laptops here to show you)
im not using fog for the dhcp, im using windows server 2012 r2, the options are below
the desktop in question that gets the error is a hp z640
i disable UEFI by default everytime i image pcs, i always set bios to legacy and secure boot disabled
i can log in to the dashboard fine (see pic below) and i havnt changed the self signed cert fog installed on the initial setup
but as i said, it works on other pcs i need to image just this one i couldnt and i find it bizare
hi all,
got this error, i have no idea why, maybe its because its got an nvme drive in it?
ps - when i try to network boot on other pcs it works fine
thanks,
rob
nice one thanks @Sebastian-Roth
mysqlcheck -c fog moduleStatusByHost -u root -p
Enter password:
fog.moduleStatusByHost OK
[root@lon-c-fog10 backup]# ls
17072021.tar 18072021.tar
[root@lon-c-fog10 backup]# /script/backup.sh
[root@lon-c-fog10 backup]#
can i install php my admin on the fog server or will that mess it up?
hi all,
getting this error when trying to backup the fog database
mysqldump: Couldn’t execute ‘show create table moduleStatusByHost
’: Table ‘./fog/moduleStatusByHost’ is marked as crashed and should be repaired (145)
this is the command im running in the script
mysqldump -u root -p’password’ --allow-keywords -x fog > /images/backup/fogall/fogbackup.sql
thanks,
rob
@tom-elliott thank you
so really, i should run the command shown in the fog backup as its a better way
hi all,
it says to run this command to backup the fog database
mysqldump --allow-keywords -x -v fog > fogbackup.sql
but looking elsewhere it says the way you backup databases is like so
mysqldump -u [username] -p[password] [database_name] > [backup_file_name].sql
so what do the options mean ie allow keywords and x and v
thanks,
rob
So @george1421 it’s OK to create /images/backup
Or no as my fog web ui images dir is /images
i did a rm -rf test, now when i look on the dashboard it has now got the right size