-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
185 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
#!/bin/bash | ||
#!/bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ then | |
fi | ||
|
||
$PYTHON $FINALIZE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,3 +142,4 @@ def curthooks(): | |
|
||
|
||
curthooks() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
export PYTHONPATH='/curtin' | ||
|
||
# Ubuntu 16.04 only ships with Python 3 while previous versions only ship | ||
# with Python 2. | ||
if type -p python > /dev/null; then | ||
exec python "$0.py" "$@" | ||
else | ||
exec python3 "$0.py" "$@" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<unattend xmlns="urn:schemas-microsoft-com:unattend"> | ||
<settings pass="windowsPE"> | ||
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<DiskConfiguration> | ||
<WillShowUI>OnError</WillShowUI> | ||
|
||
<Disk wcm:action="add"> | ||
<CreatePartitions> | ||
<CreatePartition wcm:action="add"> | ||
<Order>1</Order> | ||
<Size>100</Size> | ||
<Type>EFI</Type> | ||
</CreatePartition> | ||
<CreatePartition wcm:action="add"> | ||
<Order>2</Order> | ||
<Size>128</Size> | ||
<Type>MSR</Type> | ||
</CreatePartition> | ||
<CreatePartition wcm:action="add"> | ||
<Extend>true</Extend> | ||
<Order>3</Order> | ||
<Type>Primary</Type> | ||
</CreatePartition> | ||
</CreatePartitions> | ||
<ModifyPartitions> | ||
<ModifyPartition wcm:action="add"> | ||
<Label>EFI</Label> | ||
<Format>FAT32</Format> | ||
<Order>1</Order> | ||
<PartitionID>1</PartitionID> | ||
</ModifyPartition> | ||
<ModifyPartition wcm:action="add"> | ||
<Format>NTFS</Format> | ||
<Order>2</Order> | ||
<PartitionID>3</PartitionID> | ||
<Label>System</Label> | ||
</ModifyPartition> | ||
</ModifyPartitions> | ||
<DiskID>0</DiskID> | ||
<WillWipeDisk>true</WillWipeDisk> | ||
</Disk> | ||
|
||
</DiskConfiguration> | ||
<ImageInstall> | ||
<OSImage> | ||
<InstallTo> | ||
|
||
<PartitionID>3</PartitionID> | ||
<DiskID>0</DiskID> | ||
|
||
</InstallTo> | ||
<InstallToAvailablePartition>false</InstallToAvailablePartition> | ||
<WillShowUI>OnError</WillShowUI> | ||
<InstallFrom> | ||
<MetaData wcm:action="add"> | ||
<Key>/IMAGE/NAME</Key> | ||
<Value>Windows Server 2016 SERVERSTANDARD</Value> | ||
</MetaData> | ||
</InstallFrom> | ||
</OSImage> | ||
</ImageInstall> | ||
<UserData> | ||
<AcceptEula>true</AcceptEula> | ||
|
||
</UserData> | ||
</component> | ||
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<SetupUILanguage> | ||
<UILanguage>en-US</UILanguage> | ||
</SetupUILanguage> | ||
<InputLocale>en-US</InputLocale> | ||
<UILanguage>en-US</UILanguage> | ||
<SystemLocale>en-US</SystemLocale> | ||
<UserLocale>en-US</UserLocale> | ||
</component> | ||
</settings> | ||
<settings pass="oobeSystem"> | ||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<VisualEffects> | ||
<FontSmoothing>ClearType</FontSmoothing> | ||
</VisualEffects> | ||
<OOBE> | ||
<HideEULAPage>true</HideEULAPage> | ||
<ProtectYourPC>3</ProtectYourPC> | ||
<NetworkLocation>Work</NetworkLocation> | ||
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> | ||
<!-- Comment the following two options on Windows Vista / 7 and Windows Server 2008 / 2008 R2 --> | ||
<!-- | ||
<HideOnlineAccountScreens>true</HideOnlineAccountScreens> | ||
<HideLocalAccountScreen>true</HideLocalAccountScreen> | ||
--> | ||
</OOBE> | ||
|
||
<FirstLogonCommands> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -Command A:\logon.ps1 </CommandLine> | ||
<Order>1</Order> | ||
</SynchronousCommand> | ||
</FirstLogonCommands> | ||
|
||
<UserAccounts> | ||
<AdministratorPassword> | ||
<Value>Passw0rd</Value> | ||
<PlainText>true</PlainText> | ||
</AdministratorPassword> | ||
</UserAccounts> | ||
<AutoLogon> | ||
<Password> | ||
<Value>Passw0rd</Value> | ||
<PlainText>true</PlainText> | ||
</Password> | ||
<Enabled>true</Enabled> | ||
<LogonCount>50</LogonCount> | ||
<Username>Administrator</Username> | ||
</AutoLogon> | ||
<ComputerName>*</ComputerName> | ||
</component> | ||
</settings> | ||
<settings pass="specialize"> | ||
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<fDenyTSConnections>false</fDenyTSConnections> | ||
</component> | ||
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<UserAuthentication>0</UserAuthentication> | ||
</component> | ||
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<FirewallGroups> | ||
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> | ||
<Active>true</Active> | ||
<Profile>all</Profile> | ||
<Group>@FirewallAPI.dll,-28752</Group> | ||
</FirewallGroup> | ||
</FirewallGroups> | ||
</component> | ||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<TimeZone>UTC</TimeZone> | ||
<ComputerName>*</ComputerName> | ||
</component> | ||
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<CEIPEnabled>0</CEIPEnabled> | ||
</component> | ||
</settings> | ||
</unattend> |
Binary file not shown.