Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Weasel is an Operating System installer similar to Redhat's Anaconda. When you insert the ESX Installation DVD, this program guides you through the steps of network configuration, disk selection, etc. Or it can perform an automated install based on a script similar to Redhat kickstart scripts.
Python Other
branch: master

Initial commit

latest commit ff9c06b4c7
Patrick Devine authored
Failed to load latest commit information.
esxcfg-py Initial commit
examples Initial commit
gui Initial commit
migration Initial commit
networking Initial commit
scriptedinstall Initial commit
test Initial commit
textui
util Initial commit
README.md Initial commit
applychoices.py Initial commit
boot_cmdline.py Initial commit
bootloader.py Initial commit
brandiso.py Initial commit
cdutil.py Initial commit
consts.py Initial commit
createinstdepot.py Initial commit
customdrivers.py Initial commit
datastore.py Initial commit
debugging.py Initial commit
devices.py
dispatch.py Initial commit
drivereula.txt Initial commit
esxconf.py Initial commit
esxlicense.py Initial commit
eula.txt Initial commit
exception.py Initial commit
firewall.py Initial commit
fsset.py Initial commit
fstab.py Initial commit
grubupdate.py
gui.py Initial commit
iscsi.py Initial commit
isolinux.cfg Initial commit
keyboard.xml Initial commit
ks-upgrade.cfg Initial commit
ks.cfg Initial commit
log.py Initial commit
media.py
migrate.py Initial commit
mouse.xml Initial commit
packages.py Initial commit
partition.py Initial commit
pciidlib.py Initial commit
precheck.py Initial commit
regexlocator.py Initial commit
remote_files.py Initial commit
review.py Initial commit
script.py Initial commit
scui.py Initial commit
services.py Initial commit
singleton.py Initial commit
startx.py Initial commit
systemsettings.py Initial commit
task_progress.py Initial commit
tidy.py Initial commit
timedate.py Initial commit
timezone.py Initial commit
timezone.xml Initial commit
usbmedia.py Initial commit
userchoices.py Initial commit
users.py Initial commit
vua-standin.sh Initial commit
weasel.py Initial commit
weasel.xml Initial commit
workarounds.py Initial commit

README.md

Weasel for ESX

Copyright (c) 2008-2010 VMware, Inc.

Weasel 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 version 2 and no later version.

Weasel 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 version 2 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

ABOUT WEASEL

Weasel is a replacement for Red Hat Linux's Anaconda installer and is used for installing ESX 4. As such, it normally runs from a Red Hat Enterprise 3 "Console OS" running underneath VMware ESX Server.

Weasel is written almost entirely in Python, and supports a fairly robust set of features including:

  • graphical installation
  • text based installation
  • scripted (kickstart) installation
  • multiple types of boot media including CD-ROM, DVD, USB, and PXE
  • network based installation through http, ftp and nfs
  • asynchronous storage and network driver disks
  • support for creating multiple filesystem types including ext3 and vmfs
  • installation of Red Hat Enterprise Linux into a special container called the "Console VMDK"
  • extensive unit tests which can be run to validate the installer code
  • dynamic partition checking to ensure that any set of partitions will be able to house the operating system at installation time.

The graphical installation front end uses the PyGTK library and each screen was created with the glade tool.

SUPPORT

For support for Weasel, please check with VMware's Community Forums at:

http://communities.vmware.com/community/vmtn/vsphere/upgradecenter

RUNNING WEASEL

Running Weasel is different than running other Linux-based operating system installers. Even though it was developed to run on top of the Linux based Console OS and shares many concepts with installers such as Anaconda like RPM based packaging, Weasel will not run directly on Linux. There is no direct module support for loading modules; in the ESX installer this is taken care of by initscripts which are executed before the installer is run and at the module load stage.

It is however possible to test Weasel in Linux. To start the graphical installer from the weasel directory, invoke the command:

$ python test/caged_weasel.py weasel.py --nox

Something went wrong with that request. Please try again.