Overview
| Comment: | Implemented --localtime option for vws create. Fixes [b361b92a4d57] |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
8d7b8d03b4d61f90c211dd6a4559c496 |
| User & Date: | vitus on 2017-01-13 20:23:40.858 |
| Other Links: | manifest | tags |
Context
|
2017-01-14
| ||
| 07:08 | Make spiceuri report FQDN if spice socket is bound to all addresses. Fixes [b186056b7771] check-in: efefe8ac53 user: vitus tags: trunk | |
|
2017-01-13
| ||
| 20:23 | Implemented --localtime option for vws create. Fixes [b361b92a4d57] check-in: 8d7b8d03b4 user: vitus tags: trunk | |
| 19:54 | Cleaned up installation procedure check-in: 6d27dc1088 user: vitus tags: trunk | |
Changes
Modified vws
from [65984fa43e]
to [e213acf35f].
| ︙ | |||
659 660 661 662 663 664 665 | 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 | - + |
fi
#set umask to make machine group-accessable
umask 002
{qemubinary} -name $NAME {accel} \\
-m {memory} \\
{drive} \\
{cdrom}$CDROM \\
|
| ︙ | |||
696 697 698 699 700 701 702 | 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 | - + + |
"accel":"-enable-kvm",
"memory":"1024M",
"vga":'qxl',
"drive":"-drive media=disk,index=0,if={interface},file={image}",
"cdrom":"-drive media=cdrom,index=2,if=ide",
"sound":"-soundhw hda",
"group":config.get("permissions","vm_group"),
|
| ︙ | |||
736 737 738 739 740 741 742 743 744 745 746 747 748 749 | 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 | + + |
if not parsed_args.sound:
options["sound"] = ''
else:
options["sound"] = '-soundhw ' + parsed_args.sound
options["memory"] = parsed_args.mem
if parsed_args.localtime:
options["rtc"] = "-rtc base=localtime,clock=host \\\n"
if os.path.exists(machinedir):
if os.path.exists(os.path.join(machinedir, "start")):
print >> sys.stderr, ("Virtual Worstation %s already exists" %
parsed_args.machine)
else:
print >> sys.stderr, ("Cannot create VW directory, " +
|
| ︙ | |||
922 923 924 925 926 927 928 929 930 931 932 933 934 935 | 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 | + + + |
p.add_argument("--size", metavar='size', help="Size of primary disk images",
dest="size", default=config.get('create options', 'size'))
p.add_argument("--arch", metavar='cputype', help="Emulated architecture",
dest="arch", default=config.get('create options', 'arch'))
p.add_argument("--no-sound", help="Disable sound card", action='store_const',
const=None, default=config.get('create options', 'sound'),
dest="sound")
p.add_argument('--localtime', action='store_const',const=True,default=False,
help="Show system clock as local time, not UTC to guest OS",
dest='localtime')
p.add_argument("--sound", metavar='cardtype', help="Specify sound card type",
dest='sound', default=config.get('create options', 'sound'))
p.add_argument("--vga", metavar='cardtype',
help="specify video card type (cirrus,std,vmware,qxl) default " +
config.get('create options', 'vga',), dest="vga",
default=config.get('create options', 'vga'))
p.add_argument("--net", help="Network - 'user' or bridge name",
|
| ︙ |