Good to know. I’ve been rolling with the same script since Win7 and likely would not have looked at another way to do it short of it failing to run on a new version.
Posts
-
RE: Capturing an image from Vendor X laptop and deploying to Vendor Y laptop?posted in General
-
RE: Capturing an image from Vendor X laptop and deploying to Vendor Y laptop?posted in General
We do something similar to @george1421 but since we have a much more limited number of models to support (think 4 rather than 12) we inject the drivers before we capture the image from the VM.
We use enterprise Dell hardware so I download the driver CABs, then I extract all the drivers to a folder on the desktop called “Drivers”. I then run the following script to put them the driver store.
REM Will find and install all inf files in a folder called 'Drivers' on the current desktop FOR /R "C:\Users\%USERNAME%\Desktop\Drivers\" %%G IN (*.inf) do pnputil -a "%%G"Keep in mind the are STAGED not Installed. So they are simply available to the machine at first boot to choose from.
I find this simpler than the injection process and the additional space used is negligible, though it doesn’t scale at large, but like I said we only have a handful of models. And now with Win10’s release cycle I can re-evaluate which drivers we put in the base each time we prep a new OS.
-
RE: Simplifying Deployment with Official Virtual Applianceposted in General
vmdk is probably the most broadly cross compatible short of something like an ova
-
RE: EFI Deployment problemposted in Linux Problems
I’m assuming in this scenario you are trying to migrate from one machine to another, the original machine being BIOS based and the new one being EFI. If that is the case there really wouldn’t be a clean way of doing this and it WILL be messy.
The solution I posed in that thread was to get around VirtualBox’s problems with PXE booting on EFI. In that case I AM making an EFI image and deploying it to EFI machines, and am only changing the virtual machine to BIOS during the capture process.
-
RE: Simplifying Deployment with Official Virtual Applianceposted in General
I lean toward a VM over docker only because docker takes a different skill set where with a VM beginners can simply load up virtual box or power users likely already have something like VMware or Xen in their environment. That’s not to say that there isn’t value both for the dev team and users for a docker container.
I would lean toward Debian personally especially with some of the SQL idiosyncrasies with Ubuntu. Though I could see the value in going Ubuntu given how popular it is with the current user base.
-
RE: Simplifying Deployment with Official Virtual Applianceposted in General
We use Ubuntu where I am (US K12) I manage updates via Landscape which as worked out pretty well for us. Mind you our Linux footprint is much smaller than our Windows Server footprint.
I would definitely be behind a Debian based Appliance and would be willing to seed from home as well. I had to cut my speed from gig to 200/200 for reasons, but still enough to be helpful.
The biggest wrinkle would be scripting the first startup to ask the appropriate questions and making the appropriate changes (disk size, Database PW, network interface, IP, Hostname, generate Certs(SSL Should be a default on an appliance), etc.)
-
RE: Simplifying Deployment with Official Virtual Applianceposted in General
I don’t expect to see a lot of fundamental functional differences for the most part. I do expect to see people shift away from it if only for the optics of where it is placed in the development pipeline (somewhere between Fedora and RHEL) and not wanting to be out ahead of the mainline.
-
RE: Simplifying Deployment with Official Virtual Applianceposted in General
I’ve typically only used VMWare, Xen/XCP-ng/CitrixHypervisor and Virtualbox all of which import OVF and OVA files. Not sure if KVM based hosts or HyperV can pull that off, but I would be surprised if they couldn’t.
We don’t currently use docker in our environment so I can’t speak to the benefits or pitfalls of that approach.
I would be interested in seeing how those demographics shift over the next year with the changes from CentOS to CentOS Stream. (https://blog.centos.org/2020/12/future-is-centos-stream/) I am moving my one CentOS host to Oracle Linux, but others may stick with stream, fedora or cough up the money for RHEL depending on their structure.
-
Simplifying Deployment with Official Virtual Applianceposted in General
I can’t seem to find it, but I recall reading a thread (this could have been months ago, time is weird at the moment) that was discussing cutting down the number of distros supported by the installer.
My though process expanded from that to eliminating the installer as it exists entirely (at least in the way that it broadly installs on so many distros) and instead provide an official Virtual Appliance.
It would have a LTS base OS of some type (Debian, Ubuntu LTS, or Oracle Linux probably - I would have included CentOS as the front runner but IBMs changes to that make it not an option really). Make the VM and compress it down, then have it be expandable to the available storage, probably with some type of interaction on first boot to handle those tasks automatically like an LVM expand, default password change etc, possibly even a choice for making the VM a storage node.
This would be a big lift obviously, but the simplification of support would be a big win when everyone starts from a common base.
Thoughts?
-
RE: MAC already existsposted in FOG Problems
Now that I have the necessary MAC addresses at least associated with the machine I am good for now. I will wait for a final release before I move. This isn’t a deal breaker kind of issue for me.
-
RE: MAC already existsposted in FOG Problems
The Mac shows up in the table. Assigned to my device, but under pending. So I went to pending and approved the Mac addresses. Though when I went back and tried to remove the temporary Mac that is in the primary field and move the built in MAC address to the primary field but it still gives the error when I save that the Mac is already assigned (to the machine who’s page I’m on).
There are 3 Mac addresses in the mix.
- The temporary usb adapter
- another USB adapter that the user usually has. This one doesn’t support PXE hence the temp adapter.
- The Wifi Mac that I keep as a secondary because we use the client and I want the machine to still check in while on Wifi.
-
MAC already existsposted in FOG Problems
Running FOG 1.5.8 on Ubuntu 18.04
Removed a Mac address from a machine so I could use a usb network adapter to image it. When I went to put the built in Wifi MAC address back into the machine config it says that it is already in use, but it is no longer on that machine’s entry or in use anywhere else.
-
RE: deploying image from xen windows 10 - blue screenposted in General
Xen defaults to BIOS though in 8+ you can switch to EFI and I’m pretty sure new versions of ESXi default to EFI. Can you confirm which you have on each?
-
RE: Web UI unavailable after 1.5.8 upgradeposted in FOG Problems
Looks like this was a weird issue with Safari holding on to something (not sure what) reseting my browser or using a different one worked fine.
-
Web UI unavailable after 1.5.8 upgradeposted in FOG Problems
1.5.7.104 dev -> 1.5.8 master
Ubuntu 18.04
System was migrated after some issues on my old system. Has been working up until now.After upgrading to 1.5.8 I can no longer access the web UI via the DNS name. I can access via IP address but not fog.contoso.com/fog
I’ve rolled back but I just wanted to put it out to see if anyone else has had this issue.
-
RE: directory listings enabled in fog-installationposted in FOG Problems
This is actually a suggestion I had meant to bring up earlier. I briefly tested it but removed the config because I was unsure of compatibility but a redirect in the apache config to /fog might be worth while so a directory doesn’t need to be specified at all. Via either RedirectMatch or RewriteRule. I just don’t know what this will do to systems that have the client with /fog already hardcoded.
-
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
fogadmin@fogimaging:~$ ls -al /var/www && ls -al /var/www/html total 16 drwxr-xr-x 4 root root 4096 Feb 13 10:53 . drwxr-xr-x 14 root root 4096 Sep 11 2017 .. drwxr-xr-x 10 www-data www-data 4096 Feb 13 11:04 fog drwxr-xr-x 2 root root 4096 Sep 11 2017 html total 20 drwxr-xr-x 2 root root 4096 Sep 11 2017 . drwxr-xr-x 4 root root 4096 Feb 13 10:53 .. lrwxrwxrwx 1 root root 13 Sep 11 2017 fog -> /var/www/fog/ -rw-r--r-- 1 root root 10701 Sep 11 2017 index.html -
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
I haven’t rolled back. I migrated out of this instance and am just keeping it around in case there is an issue I haven’t seen with my migrated system and to help with this. I will run these tomorrow and share the output
-
RE: Failed upgrade to latest 1.5.7.xxxposted in FOG Problems
Installation looks good until the very end.
End of the log is:
* Setting up and starting NFS Server..........................OK * Ensuring node username and passwords match..................<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Login</title><link href="../management/css/animate.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/font-awesome.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/jquery-ui.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/jquery-ui.theme.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/jquery-ui.structure.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/jquery-ui-timepicker-addon.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/select2.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/bootstrap.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/bootstrap-theme.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/theme.bootstrap_3.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/theme.blue.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/bootstrap-dialog.min.css?ver=134" rel="stylesheet" type="text/css"/><link href="../management/css/default/fog.css?ver=134" rel="stylesheet" type="text/css"/><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/></head><body><nav class="navbar navbar-inverse navbar-fixed-top"><div class="container-fluid"><div class="navbar-header"><button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"><span class="sr-only">Toggle Navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button></div><div class="collapse navbar-collapse"><ul class="nav navbar-nav"><a class="navbar-brand" href="../management/index.php?node=home"><b>FOG</b> Project</a></ul></div></div></nav><div class="container-fluid dashboard"><div class="form-signin"><form class="form-horizontal" method="post" action="?node=home"><h3 class="form-signin-heading text-center"><span class="col-xs-1"><img src="../favicon.ico" class="logoimg" alt="Open Source Computer Cloning Solution"/></span>FOG Project</h3><hr/><div class="form-group"><label class="control-label col-md-2" for="uname">Username</label><div class="col-md-10"><input type="text" class="form-control" name="uname" required="" autofocus="" id="uname"/></div></div><div class="form-group"><label class="control-label col-md-2" for="upass">Password</label><div class="col-md-10"><input type="password" class="form-control" name="upass" required="" id="upass"/></div></div><div class="form-group"><label class="control-label col-md-2" for="ulang">Language</label><div class="col-md-10"><select class="form-control" name="ulang" id="ulang"><option value="中国的">中国的</option><option value="English" selected>English</option><option value="Español">Español</option><option value="Français">Français</option><option value="Deutsch">Deutsch</option><option value="Italiano">Italiano</option><option value="Português">Português</option></select></div></div><div class="form-group"><div class="col-md-offset-2 col-md-10"><button class="btn btn-default btn-block" type="submit" name="login">Login</button></div></div></form><hr/><div class="row"><div class="form-group"><div id="login-form-info"><p>Estimated FOG Sites: <b><i class="icon fa fa-circle-o-notch fa-spin fa-fw"></i></b></p><p>Latest Version: <b><i class="icon fa fa-circle-o-notch fa-spin fa-fw"></i></b></p><p>Latest Development Version: <b><i class="icon fa fa-circle-o-notch fa-spin fa-fw"></i></b></p></div></div></div></div></div><div class="collapse navbar-collapse"><footer class="footer"><nav class="navbar navbar-inverse navbar-fixed-bottom"><div class="container-fluid"><ul class="nav navbar-nav"><li><a href="https://wiki.fogproject.org/wiki/index.php?title=Credits">Credits</a></li><li><a href="?node=client">FOG Client</a></li><li><a href="https://www.paypal.com/cgi-bin/webscr?item_name=Donation+to+FOG+-+A+Free+Cloning+Solution&cmd=_donations&business=fogproject.org@gmail.com" target="_blank">Donate to FOG</a></li></ul></div></nav></footer></div><script src="js/jquery-latest.min.js?ver=134" type="text/javascript"></script><script src="js/jquery.validate.min.js?ver=134" type="text/javascript"></script><script src="js/additional-methods.min.js?ver=134" type="text/javascript"></script><script src="js/jquery.tablesorter.combined.js?ver=134" type="text/javascript"></script><script src="js/select2.min.js?ver=134" type="text/javascript"></script><script src="js/jquery-migrate-latest.min.js?ver=134" type="text/javascript"></script><script src="js/jquery.progressbar.js?ver=134" type="text/javascript"></script><script src="js/jquery.tmpl.js?ver=134" type="text/javascript"></script><script src="js/jquery.placeholder.js?ver=134" type="text/javascript"></script><script src="js/jquery-ui.min.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.time.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.pie.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.JUMlib.js?ver=134" type="text/javascript"></script><script src="js/flot/jquery.flot.gantt.js?ver=134" type="text/javascript"></script><script src="js/jquery-ui-timepicker-addon.js?ver=134" type="text/javascript"></script><script src="js/bootstrap.min.js?ver=134" type="text/javascript"></script><script src="js/bootstrap-dialog.min.js?ver=134" type="text/javascript"></script><script src="js/fog/fog.js?ver=134" type="text/javascript"></script><script src="js/jscolor.min.js?ver=134" type="text/javascript"></script><script src="js/fog/fog.login.js?ver=134" type="text/javascript"></script><!-- Memory Usage: 2.00 MiB--><!-- Memory Peak: 1.54 MiB--></body></html>Done * Setup complete You can now login to the FOG Management Portal using the information listed below. The login information is only if this is the first install. This can be done by opening a web browser and going to: https://x.x.x.x/fog/management Default User Information Username: fog Password: password -
RE: Unable to update kernelposted in FOG Problems
Looked through the guide and everything matched, it was just the tftp server password that was wrong.