Autoinstall custom Linux image - linux

We are facing now a new challenge, how can we autoinstall a Linux image I created.
I am installing my custom Linux image on a Windows 10 Mini pc. I would like the auto install to run on boot for a security and automation reasons.
I used Clonezilla in order to capture and restore a custom image. It worked with S3fs as well.
I tried to enable PXE, but it didn't work. From a screen that says PXE..... I just went again to Windows loading logo.
So the process:
I created a custom image with all the dependencies and services I need in order the application to run, I captured it with Clonezilla and restored it with the same open source application. It was great. Now we would like to automate the process as much as we can in order to deploy the image on a verity of physicals servers.
My main issue right now with Clonezilla is that in order to restore from S3 for example I need to use S3fs and I have to create a credentials file with my access key id and secret access key each time I restore an image. Repetitive and insecure.
I explored the idea of autoinstall the image with PXE over the internet, interesting but I haven't fully understand the process.
We are not cancelling an payment application, if it's stable and provide support.
If anyone know how I can create a new Clonezilla image with my AWS credentials file exist it could be helpful, if anyone can share his experience with auto install custom image over the internet with PXE it would be helpful, or even an experience with a different tool that works for you, I would love to hear about it.
Please le me know if I need to add addition information and details or if this is not the right thread for this question.
Thank you for your help

Related

Is it mandatory to install WALinuxAgent?

I'm creating a custom vhd image to make it available in azure market place. Its an inbuild centos 7 machine and I want to load it as an image. Is it mandatory to have WALinuxAgent agent to be installed as part of the image? Here is the documentation which says to install it https://learn.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-centos#centos-70. I want to exclude that package from the image. Is that okay to do that ?
You do need it, otherwise the VM may not boot. This agent communicates with the Azure fabric to provide VM status amongst other things. You can find more information about it here: https://github.com/Azure/WALinuxAgent

Capture button missing from Azure Portal.

I am new to Azure Portal but have good knowledge with VMware ESX and vcenter. I created some vm images in Azure portal (not classic) and need to clone them. However, all online docs point to "Capture" button which for some reason is missing from my profile. I found some docs about using AZcopy tool which is fairly complex.
also, because I have some automation customized in the VM, running sysprep might break the tool/automation. so I prefer without running sysprep.
So the bottom line is that I need a way to clone single VM into multiple VMs without running sysprep. Yes I know about the conflicts and hopping I can do the modifications manually. But even if it is impossible without sysprep, fine. As long as I can clone them I'll live with sysprep somehow.
This is possible using Powershell and sysprep. This blog post has a step by step of how it's done.
http://www.codeisahighway.com/how-to-capture-your-own-custom-virtual-machine-image-under-azure-resource-manager-api/
If the Capture button is missing try to check whether your machine is a "Managed disk" one.
If it's not you can follow this tutorial to turn it on but I guess there's costs associate to it.
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks
ps: last time I checked "unmanaged disks" and I spent like three hours trying to understand why the capture button has gone.

is there any way i can use Application Loader on windows?

I have just created an iPhone app and need to upload the .ipa file, but I downloaded application loader and I am not able to open it via windows 7. is there any way around this?
I know this is an old question, but it came up on my search for a solution to the same problem. I wanted to share that I found a service that offers remote access to Mac OS called macincloud.com
I gave it a try, and it's surprisingly easy. Documentation isn't great, but it's not that difficult once you have access to the remote mac. Depending on how much time you're going to need to spend, there are a few pricing options, the cheapest of which is $12/week, but you can cancel any time (we'll see).
Of course it's very late for answering this, but maybe someone need this service. There is a desktop application that allows you to send your generated .ipa as well as Application Loader.
See here: http://appuploader.net/index.php
You can have Mac OS on your PC Virtual Machine, then easily install Application Loader there
When in search "Application Uploader" in Google, the following result http://www.appstoreuploader.com/ comes at no. 3. Apparently they charge $5 to upload your app.

Not implemented Error for reports with Charts (Graphs) on Azure

I installed Crystal Reports on Windows Azure, and most reports work just fine. However, none of the reports with charts work. I get Operation not yet implemented error from my web page.
Any help greatly appreciated.
Thanks.
If you can install all the needed SAP, I understood that from the thread you mentioned, on a server on premises you could try one of the following options:
Start up a webrole, rdp into it and install what's needed
Create a startup task that installs the needed material. See this for example.
Make use of the new IaaS capabilities in Azure. Create a new server from one of the images in the gallery or upload a sys prepped image with the stuff you need on it to Azure.

How to turn off Internet Explorer enhanced security settings in Azure

My site is hosted on Azure. I need to programmatically turn off Internet Explorer's default enhanced security configuration settings whenever I repave or redeploy a new box on Azure.
How do I do this?
I found this article on another site http://jetlounge.net/blogs/teched/archive/2009/10/25/fix-ie-esc-won-t-turn-off-internet-explorer-enhanced-security.aspx. It included the following command line syntax, but on my local box I couldn't find the IEHARDEN.INF file it referred to. I also don't think this solution is Azure-specific.
rundll32.exe setupapi.dll,InstallHinfSection IESoftenAdmin 128 %windir%\inf\IEHARDEN.INF
I need to turn off these default hardening settings under Azure because I have a 3rd party IE screen capture DLL that needs to execute Javascript on webpages.
I think that this approach, shaped in a Windows Azure StartupTask running in Elevated execution context will help you.
Just remember that the .bat or .cmd file you create needs to be UTF8 encoded. There used to be some issues with the batch files if they are not UTF8.
UPDATE
I decided to update the answer, because it would have been too long for a second comment. I want to first make clear that I do not intend to offend anyone and the next is just mine personal view and thoughts.
Well, I mine vision might be (is) distorted through mine prism. But, I think that these specifics has nothing to do with Windows Azure itself.
These are OS related configuration specifics and the approach would be one and the same (with some variations) regardless of a (hosting/cloud) provider. If you had to deploy your solution to a dedicated (or virtual) server, you would had to create some kind of scheduled task, or startup task to make these configuration changes. Or even interactively login to make these changes.
Since Windows Azure offers the StartUp Task, it is up to us (developers) to decide what to do and how to shape the OS according to our needs.
The OS configuration changes that one can possibly need are only limited by the total ammount of all available Windows Server 2008/R2 configuration options. I personally do not believe that these needs to be reflected in Windows Azure documentation by any means. They have their place in Windows Server documentation. It is arguable which are "commonly used", because what might be common for one, might also be "never needed" for others ...

Resources