Skip to content
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.

Commit

Permalink
Create README.md [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 authored Mar 16, 2019
1 parent 66634cb commit df800a1
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# CentWSL
CentOS on WSL (Windows 10 FCU or later)
based on [wsldl](https://github.com/yuk7/wsldl)

[![Build Status](https://img.shields.io/travis/yuk7/CentWSL.svg?style=flat-square)](https://travis-ci.org/yuk7/CentWSL)
[![Github All Releases](https://img.shields.io/github/downloads/yuk7/CentWSL/total.svg?style=flat-square)](https://github.com/yuk7/CentWSL/releases/latest)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
![License](https://img.shields.io/github/license/yuk7/CentWSL.svg?style=flat-square)

### [Download](https://github.com/yuk7/CentWSL/releases/latest)


## Requirements
* Windows 10 Fall Creators Update x64 or later.
* Windows Subsystem for Linux feature is enabled.

## Install
#### 1. [Download](https://github.com/yuk7/CentWSL/releases/latest) installer zip

#### 2. Extract all files in zip file to same directory

#### 3.Run CentOS.exe to Extract rootfs and Register to WSL
Exe filename is using to the instance name to register.
If you rename it you can register with a diffrent name and have multiple installs.


## How-to-Use(for Installed Instance)
#### exe Usage
```dos
Usage :
<no args>
- Open a new shell with your default settings.
run <command line>
- Run the given command line in that distro. Inherit current directory.
config [setting [value]]
- `--default-user <user>`: Set the default user for this distro to <user>
- `--default-uid <uid>`: Set the default user uid for this distro to <uid>
- `--append-path <on|off>`: Switch of Append Windows PATH to $PATH
- `--mount-drive <on|off>`: Switch of Mount drives
get [setting]
- `--default-uid`: Get the default user uid in this distro
- `--append-path`: Get on/off status of Append Windows PATH to $PATH
- `--mount-drive`: Get on/off status of Mount drives
- `--lxuid`: Get LxUID key for this distro
backup
- Output backup.tar.gz to the current directory using tar command.
clean
- Uninstall the distro.
help
- Print this usage message.
```


#### How to uninstall instance
```dos
>CentOS.exe clean
```

0 comments on commit df800a1

Please sign in to comment.