search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
New Release: Set-LinuxVM v2.3 (Unattended Linux VM Configuration Tool)
Posted in Virtual Machine Manager, Windows Powershell | 4 Comments | 14,381 views | 29/05/2011 16:19

Hello,

Update: SetLinuxVM is now under GPLv2

After number of bug fixes, improvements and new functionalities, Set-LinuxVM reached version 2.3 stable.

Fixed bugs:
1) Keyboard language fix. There is no dependency on VM keyboard language anymore.
2) Changed logic of LIC installation.
3) Network service restart bug in Redhat based distributions.

New functionalities:
1) Extending Logical Volume: If you expand VM’s disk, you can extend / partition to maximum free space.
2) Changing root password: You can change password of root users.
3) Changing time zone: You can change time zone of linux vm.
4) SCVMM template support: You can set distro, username and password informations into Linux VM template. If you provision a Linux VM from that template, Set-LinuxVM checks template fields to get required distro, username and password informations.
5) CloudLinux distribution support. Now supported distros: CentOS, Fedora, Debian, Ubuntu, Redhat, Suse and CloudLinux
6) Parallels Plesk Panel installation support. Now supported control panels: CPanel and Plesk
7) Advanced verify and debug process.
8) Secured with Code Signing Certificate from GlobalSign.
9) Automatic updates: Script checks new updates so you don’t need to download new versions anymore.

Other functionalities:
1) Unattended IP, Hostname and DNS configuration for Linux VMs.
2) Automatic Linux integration components installation.
3) Multi Distro Support: Debian, Ubuntu, Centos, Fedora, Redhat, Suse and CloudLinux!
4) Automatic CPanel and Parallels Plesk installation.
5) Linux VM Template support
6) Hyper-V support! You don’t need SCVMM to use this script.
7) Multiple Hyper-V and SCVMM host support.
8) Automatic Emulated NIC to Synthetic NIC support.
9) No need to internet connection (SSH access etc.) or additional changes on VM.
10) Custom Answer File support! You can execute your own scripts.

Copyright (C) 2012 Yusuf Ozturk

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Download:

Donate: Thanks to support this open source project!





Usage:

1. First, you should allow signed Powershell scripts:

Set-ExecutionPolicy AllSigned

2. Extract file and move “SetLinuxVM” directory under to “C:\Windows\System32\WindowsPowerShell\v1.0\Modules”.

3. Import as a module:

Import-Module SetLinuxVM

4. That’s it. To see how to use it:

Get-help Set-LinuxVM -full

5. Follow to instructions.

How to create Linux VM template for Set-LinuxVM:

Sponsor: Applied Innovations


Comments (4)

Yusuf Ozturk » Unattended Linux VM Configuration Tool for Hyper-V

June 2nd, 2011
13:49:20

[…] Please check new version: http://www.yusufozturk.info/virtual-machine-manager/new-release-set-linuxvm-v2-3-unattended-linux-vm… […]


Phil

October 27th, 2011
19:24:29

Amazing script

I have been creating a automated system that installs both Windows and Linux VM’s using SCVMM 2008, Windows no problem, and I can get a basic CentOS setup without setting the IP, username etc, this has answered all my prayers. The control panel and answer file parameters are a godsend

Thanks so much for the time and effort


Marc

December 1st, 2011
12:32:38

Hello,

i have tried with german hyper-v server (win2008r2), get errors like
Sie können keine Methode für einen Ausdruck mit dem Wert NULL aufrufen.
Bei C:\Windows\system32\WindowsPowerShell\v1.0\Modules\SetLinuxVM\SetLinuxVM.psm1:969 Zeichen:33
+ $SendCommand = $VSMKB.TypeText <<<>/etc/resolv.conf”);
+ CategoryInfo : InvalidOperation: (TypeText:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

Only english os supported?
regards


admin

December 2nd, 2011
00:05:26

Hello Marc,

It seems “$PrimaryDNSAddress” is null. How do you execute script? If you don’t specify any DNS address, it uses Google DNS by default, 8.8.8.8 and 8.8.4.4.

Regards,
Yusuf.



Leave a Reply