diff options
author | Michael Janczyk | 2006-04-06 04:28:14 +0200 |
---|---|---|
committer | Michael Janczyk | 2006-04-06 04:28:14 +0200 |
commit | 7445146c911842246d28c3cd81af2877e137026e (patch) | |
tree | 5ae1db9e07909400be1f2fbf4545478d1ed80130 /vmware/winconfig | |
parent | some fixes and addons ... (diff) | |
download | core-7445146c911842246d28c3cd81af2877e137026e.tar.gz core-7445146c911842246d28c3cd81af2877e137026e.tar.xz core-7445146c911842246d28c3cd81af2877e137026e.zip |
3.4:
runvmware: computername param added to config.xml
ld4:
ostype: new file with vmware ostype to use with runvmware
alias: new file for aliases to use with vmware
defaults: default command line options for runvmware
win98config: config file for import in runvmware
winconfig: resolution, computername, username, for import with runvmware
vmware-prep: chmod 755 runvmware added after copy
runvmware: new runvmware, few things outsourced (see above)
new options: --floppyb --import <file>
new Xdialog menu reads from .desktop files
changed for ld4 (dirs,etc...)
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@166 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'vmware/winconfig')
-rw-r--r-- | vmware/winconfig | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vmware/winconfig b/vmware/winconfig new file mode 100644 index 00000000..750dd22c --- /dev/null +++ b/vmware/winconfig @@ -0,0 +1,29 @@ +# +# this is an include file for runvmware +# +# create Windows config file + + +# definition of some resolution variables +hostres=$(xvidtune -show | grep -ve "^$") +x_param=$(echo "${hostres}" | awk '{print $3}') +y_param=$(echo "${hostres}" | awk '{print $7}') + +# sync is needed to ensure that data is really written to virtual disk +sync +echo -e "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r +<settings>\r + <eintrag>\r + <computername param=\"${hostname}\">\r + </computername> + <resolution_x param=\"${x_param}\">\r + </resolution_x>\r + <resolution_y param=\"${y_param}\">\r + </resolution_y>\r + <username param=\"${USER}\">\r + </username>\r + </eintrag>\r +</settings>\r" \ +> /media/loop0/config.xml + +sync |